1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Add space char to avoid confusing package_linter

The code was working but crashing package_linter
This commit is contained in:
Jocelyn Delalande 2018-12-18 18:30:44 +01:00
parent 87df116166
commit daa8266d13

View file

@ -121,7 +121,7 @@ fi
if [ -e /etc/ihatemoney/settings.py ]; then if [ -e /etc/ihatemoney/settings.py ]; then
# Strip out the no longer used part of the settings # Strip out the no longer used part of the settings
sudo python2 -c"d = open('/etc/ihatemoney/settings.py').read().replace('try:\n from settings import *\nexcept ImportError:\n pass\n', ''); open('/etc/ihatemoney/settings.py', 'w').write(d)" sudo python2 -c "d = open('/etc/ihatemoney/settings.py').read().replace('try:\n from settings import *\nexcept ImportError:\n pass\n', ''); open('/etc/ihatemoney/settings.py', 'w').write(d)"
# Rename # Rename
sudo mv /etc/ihatemoney/settings.py ${ihatemoney_conf_path} sudo mv /etc/ihatemoney/settings.py ${ihatemoney_conf_path}
fi fi