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:
parent
87df116166
commit
daa8266d13
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue