mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Flag old etckeeper.conf as 'should not exist' in regenconf
This commit is contained in:
parent
b8f8ea147d
commit
5a3b382fc9
1 changed files with 4 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue