cleaned
This commit is contained in:
parent
8c65cea2ec
commit
956adedf8b
|
@ -55,12 +55,6 @@ cp -r %{_gitdir}/rpm/scripts/shelfzilla $RPM_BUILD_ROOT%{_init_path}
|
|||
# post-install section:
|
||||
# -------------------------------------------------------------------------------------------- #
|
||||
%post
|
||||
## Install init script
|
||||
#mv %{_app_dir}/init/shelfzilla %{_init_path}/
|
||||
#chmod 775 %{_init_path}/shelfzilla
|
||||
#chkconfig --add shelfzilla
|
||||
#rmdir %{_app_dir}/init/
|
||||
|
||||
## Npm install
|
||||
cd %{_app_dir} && npm install --production
|
||||
|
||||
|
@ -96,7 +90,7 @@ fi
|
|||
%postun
|
||||
|
||||
%clean
|
||||
#rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%{_app_dir}/*
|
||||
|
|
Reference in New Issue