rpm changes
This commit is contained in:
parent
06cb191554
commit
1276987cf2
|
@ -66,9 +66,6 @@ cd %{_app_dir} && npm install --production
|
|||
## pip install
|
||||
pip install -r %{_app_dir}/config/production/requirements.txt
|
||||
|
||||
## Syncdb dir manage
|
||||
python2.7 %{_app_dir}/manage.py syncdb
|
||||
|
||||
## Migrate
|
||||
python2.7 %{_app_dir}/manage.py migrate --no-initial-data
|
||||
|
||||
|
@ -86,7 +83,7 @@ python2.7 manage.py collectstatic --clear --noinput
|
|||
if [ $1 == 0 ]; then
|
||||
echo "Cleaning application files"
|
||||
[ -e /etc/logrotate.d/shelzilla ] && rm -fv /etc/logrotate.d/shelfzilla
|
||||
[ -e %{_init_path}/shelfzilla ] && rm -fv ∞{_init_path}/shelfzilla
|
||||
[ -e %{_init_path}/shelfzilla ] && rm -fv %{_init_path}/shelfzilla
|
||||
echo "Uninstall finished"
|
||||
|
||||
fi
|
||||
|
|
Reference in New Issue