Julien Vaubourg 8 years ago
parent
commit
20db75b2b0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/upgrade

+ 4 - 0
scripts/upgrade

@@ -22,7 +22,11 @@ if [ ! -e /etc/openvpn/client.conf.tpl.restore ] || ! cmp -s /etc/openvpn/client
 fi
 
 export VPNCLIENT_UPGRADE=1
+echo "Current path: $PWD"
+read
 sudo bash /etc/yunohost/apps/vpnclient/scripts/remove &> /dev/null
+echo "Current path: $PWD"
+read
 bash ./install "${domain}" "${path}" "${server_name}"
 
 sudo cp -a "${tmpdir}/settings.yml" /etc/yunohost/apps/vpnclient/