mirror of
https://github.com/YunoHost-Apps/unattended_upgrades_ynh.git
synced 2024-10-01 13:35:00 +02:00
Fix Buster
This commit is contained in:
parent
74210eea81
commit
fa7afd13e1
1 changed files with 5 additions and 0 deletions
|
@ -64,6 +64,11 @@ ynh_install_app_dependencies $app_depencencies
|
||||||
ynh_script_progression --message="Configuring Apticron..."
|
ynh_script_progression --message="Configuring Apticron..."
|
||||||
|
|
||||||
apticron_config="/etc/apticron/apticron.conf"
|
apticron_config="/etc/apticron/apticron.conf"
|
||||||
|
# If the config file doesn't exist, copy the model
|
||||||
|
if [ ! -e "$apticron_config" ]
|
||||||
|
then
|
||||||
|
cp "/usr/lib/apticron/apticron.conf" "$apticron_config"
|
||||||
|
fi
|
||||||
# Create a backup of the config file for the reset action
|
# Create a backup of the config file for the reset action
|
||||||
cp "$apticron_config" "/etc/yunohost/apps/$app/conf/apticron.conf.backup"
|
cp "$apticron_config" "/etc/yunohost/apps/$app/conf/apticron.conf.backup"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue