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

fix upgrade

This commit is contained in:
Clément 2017-03-12 18:38:14 +01:00
parent edceb8ce71
commit 4e5c5e5ba7

View file

@ -8,6 +8,9 @@ set -eu
# Source app helpers
. /usr/share/yunohost/helpers
$app=$YNH_APP_INSTANCE_NAME
FINAL_PATH="/var/www/$app"
#install extention for api if necessary
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \
|| ynh_die "Unable to install dependencies"
@ -24,7 +27,7 @@ fi
# Create tmp directory and install app inside
TMPDIR=$(mktemp -d)
chmod 755 "$TMPDIR"
sudo chmod 755 "$TMPDIR"
extract_freshrss "$TMPDIR"
# Restore config