fix %pre script
This commit is contained in:
parent
7ab4df2b1c
commit
10684c90f5
@ -1,7 +1,7 @@
|
||||
Summary: LibreSchool PXE server Extra images
|
||||
Name: libreschool-pxeserver-extraimages
|
||||
Version: 1.0.0
|
||||
Release: 1.ns7
|
||||
Release: 2.ns7
|
||||
License: GPL
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
@ -10,9 +10,6 @@ Source1: COPYING
|
||||
URL: %{url_prefix}/%{name}
|
||||
Requires: libreschool-pxeserver
|
||||
Requires: nethserver-tftp
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
BuildRequires: nethserver-devtools
|
||||
BuildRequires: systemd
|
||||
|
||||
@ -33,11 +30,6 @@ echo "%doc COPYING" >> %{name}-%{version}-%{release}
|
||||
%files -f %{name}-%{version}-%{release}-filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%pre
|
||||
if [ "$1" = 2 ]; then
|
||||
#upgrade
|
||||
fi
|
||||
|
||||
%post
|
||||
|
||||
%preun
|
||||
|
Loading…
x
Reference in New Issue
Block a user