1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

[fix][wip]Forgot to import helpers

This commit is contained in:
Clément 2016-08-31 08:44:08 +02:00
parent 6e66b323a4
commit 683fc24db0

View file

@ -1,4 +1,13 @@
#!/bin/bash #!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
# Load common variables and helpers
. ./_common.sh
# Source app helpers
. /usr/share/yunohost/helpers
#old version cleanup #old version cleanup
if [ -f $FINAL_PATH/data/user.php.dist ]; then if [ -f $FINAL_PATH/data/user.php.dist ]; then
sudo rm $FINAL_PATH/data/user.php.dist sudo rm $FINAL_PATH/data/user.php.dist