mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
migrate_to_bullseye: move /home/yunohost.conf to /var/cache/yunohost/regenconf
This commit is contained in:
parent
a124bbc790
commit
b617c799d0
1 changed files with 7 additions and 0 deletions
|
@ -84,6 +84,13 @@ class MyMigration(Migration):
|
|||
os.system("mv /usr/share/yunohost/yunohost-config/ssl/yunoCA /usr/share/yunohost/ssl")
|
||||
rm("/usr/share/yunohost/yunohost-config", recursive=True, force=True)
|
||||
|
||||
#
|
||||
# /home/yunohost.conf -> /var/cache/yunohost/regenconf
|
||||
#
|
||||
if os.path.exists("/home/yunohost.conf"):
|
||||
os.system("mv /home/yunohost.conf /var/cache/yunohost/regenconf")
|
||||
rm("/home/yunohost.conf", recursive=True, force=True)
|
||||
|
||||
#
|
||||
# Main upgrade
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue