mirror of
https://github.com/YunoHost-Apps/question2answer_ynh.git
synced 2024-09-03 20:16:07 +02:00
Fake ynh_restore_file for prepare to this futur helper
This commit is contained in:
parent
2aff2e83d6
commit
eafe4235f4
1 changed files with 7 additions and 0 deletions
|
@ -638,3 +638,10 @@ ynh_remove_systemd_config () {
|
||||||
ynh_secure_remove "$finalsystemdconf"
|
ynh_secure_remove "$finalsystemdconf"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
# This is not an official helper, just an abstract helper to prepare to the new one.
|
||||||
|
ynh_restore_file () {
|
||||||
|
sudo cp -a "${backup_dir}$1" "$1"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue