Flag old etckeeper.conf as 'should not exist' in regenconf

This commit is contained in:
Alexandre Aubin 2020-05-26 00:11:16 +02:00
parent b8f8ea147d
commit 5a3b382fc9

View file

@ -63,6 +63,10 @@ SHELL=/bin/bash
0 7,19 * * * root : YunoHost Automatic Diagnosis; sleep \$((RANDOM\\%1200)); yunohost diagnosis run --email > /dev/null 2>/dev/null || echo "Running the automatic diagnosis failed miserably"
EOF
# legacy stuff to avoid yunohost reporting etckeeper as manually modified
# (this make sure that the hash is null / file is flagged as to-delete)
mkdir -p $pending_dir/etc/etckeeper
touch $pending_dir/etc/etckeeper/etckeeper.conf
}
do_post_regen() {