mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
migrate_to_bullseye: /usr/share/yunohost/yunohost-config/ssl/yunoCA -> /usr/share/yunohost/ssl
This commit is contained in:
parent
514fa9f1a2
commit
dc4341f98c
1 changed files with 7 additions and 0 deletions
|
@ -77,6 +77,13 @@ class MyMigration(Migration):
|
||||||
rm("/etc/mysql/my.cnf", force=True)
|
rm("/etc/mysql/my.cnf", force=True)
|
||||||
self.apt_install("mariadb-common --reinstall -o Dpkg::Options::='--force-confmiss'")
|
self.apt_install("mariadb-common --reinstall -o Dpkg::Options::='--force-confmiss'")
|
||||||
|
|
||||||
|
#
|
||||||
|
# /usr/share/yunohost/yunohost-config/ssl/yunoCA -> /usr/share/yunohost/ssl
|
||||||
|
#
|
||||||
|
if os.path.exists("/usr/share/yunohost/yunohost-config/ssl/yunoCA"):
|
||||||
|
os.system("mv /usr/share/yunohost/yunohost-config/ssl/yunoCA /usr/share/yunohost/ssl")
|
||||||
|
rm("/usr/share/yunohost/yunohost-config", recursive=True, force=True)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Main upgrade
|
# Main upgrade
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue