Merge remote-tracking branch 'origin/unstable' into unstable

This commit is contained in:
Weblate 2016-02-08 23:09:49 +01:00
commit a0b7c6fd4f
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,7 @@
backup_dir="$1/conf/ynh/"
backup_dir_legacy="$1/yunohost/"
sudo mkdir -p $backup_dir
sudo mkdir -p $backup_dir_legacy
sudo cp -a /etc/yunohost/current_host $backup_dir
sudo cp -a /etc/yunohost/current_host $backup_dir_legacy

View file

@ -10,6 +10,7 @@ if [[ $EUID -ne 0 ]]; then
sudo /bin/bash $(readlink -f $0) $1
else
service slapd stop || true
# Create a directory for backup

View file

@ -0,0 +1 @@