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