fmartingr
/
shelfzilla
Archived
1
0
Fork 0
This commit is contained in:
Juan Manuel Parrilla 2015-05-25 19:45:46 +02:00
parent 8c65cea2ec
commit 956adedf8b
1 changed files with 1 additions and 7 deletions

View File

@ -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}/*