fmartingr
/
shelfzilla
Archived
1
0
Fork 0

init script modifications

This commit is contained in:
Juan Manuel Parrilla 2015-05-25 19:48:40 +02:00
parent 956adedf8b
commit 3685eff416
1 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,11 @@ cp -r %{_gitdir}/rpm/scripts/shelfzilla $RPM_BUILD_ROOT%{_init_path}
# post-install section:
# -------------------------------------------------------------------------------------------- #
%post
## Modify Init Script
chmod 775 %{_init_path}/shelfzilla
chkconfig --add shelfzilla
chkconfig shelfzilla on
## Npm install
cd %{_app_dir} && npm install --production