mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-06 16:04:31 +08:00
[SOGo] Another try to fix theme switching on login screen
This commit is contained in:
parent
f1b096b36e
commit
5cc09055a7
@ -153,4 +153,7 @@ echo ' </dict>
|
||||
chown sogo:sogo -R /var/lib/sogo/
|
||||
chmod 600 /var/lib/sogo/GNUstep/Defaults/sogod.plist
|
||||
|
||||
# Inject md-theme to hopefully fix theme swtiching
|
||||
sed -i 's/<main class/<main md-theme="mailcow" class/g' /usr/lib/GNUstep/SOGo/Templates/MainUI/SOGoRootPage.wox
|
||||
|
||||
exec gosu sogo /usr/sbin/sogod
|
||||
|
@ -120,5 +120,6 @@
|
||||
|
||||
$mdThemingProvider.setDefaultTheme('mailcow');
|
||||
$mdThemingProvider.generateThemesOnDemand(false);
|
||||
$mdThemingProvider.alwaysWatchTheme(true);
|
||||
}
|
||||
})();
|
||||
|
@ -57,5 +57,6 @@
|
||||
|
||||
$mdThemingProvider.setDefaultTheme('mailcow');
|
||||
$mdThemingProvider.generateThemesOnDemand(false);
|
||||
$mdThemingProvider.alwaysWatchTheme(true);
|
||||
}
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user