Please sign in to comment.
Replace NEMS branding in Cockpit after update
- Loading branch information...
Showing with 10 additions and 3 deletions.
|@@ -1,11 +1,14 @@|
|echo $0 > /var/www/html/userfiles/nems-build.cur|
|# ** This file also gets called by NEMS daily fixes **|
|## Remove Cockpit theme and replace with symlink to the NEMS theme|
|if [[ -d /usr/share/cockpit/branding/debian/ ]]; then|
|rm -rf /usr/share/cockpit/branding/debian|
|mkdir -p /usr/share/cockpit/branding/debian|
|cp -f /root/nems/nems-migrator/data/1.4/cockpit/branding/* /usr/share/cockpit/branding/debian/|
|cp -f /root/nems/nems-migrator/data/1.5/cockpit/branding/* /usr/share/cockpit/branding/debian/|