1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pihole_ynh.git synced 2024-09-03 20:05:58 +02:00

Fix upgrade

This commit is contained in:
Maniack Crudelis 2018-08-14 00:39:27 +02:00
parent 1f3bfb042a
commit 2dab0cd059
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"en": "Network-wide ad blocking via your own DNS server.",
"fr": "Filtrage publicitaire sur l'ensemble du réseau via votre propre serveur DNS."
},
"version": "3.3.1~ynh2",
"version": "3.3.1~ynh3",
"url": "https://pi-hole.net/",
"license": "EUPL-1.2",
"maintainer": {

View file

@ -67,10 +67,10 @@ ynh_install_app_dependencies $app_depencencies
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
pihole_local_repo="/etc/.pihole"
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
# Update la copie du repo de pihole (nécessaire pour Gravity)
pihole_local_repo="/etc/.pihole"
ynh_setup_source "$pihole_local_repo"
# Update le dashboard admin
ynh_setup_source "$final_path" admin_dashboard