Browse Source

Show installer link in GNOME Shell favourites on OEM install as well

master
Matthias Klumpp 9 months ago
parent
commit
bbb7a256cd
  1. 8
      config/hooks.oem/004-setup-oem.hook.chroot

8
config/hooks.oem/004-setup-oem.hook.chroot

@ -1,6 +1,12 @@
#!/bin/sh
#!/bin/bash
set -e
# hide non-OEM install options from menus
rm -f /usr/share/applications/calamares.desktop
rm -f /usr/share/applications/pureos-live-installer.desktop
# show OEM installer in GNOME Shell favourites
pureos_glib_schema_file="/usr/share/glib-2.0/schemas/20_pureos-gnome-settings.gschema.override"
if [[ -e "$pureos_glib_schema_file" ]]; then
sed -i 's/pureos-live-installer.desktop/pureos-live-installer-oem.desktop/' $pureos_glib_schema_file
fi
Loading…
Cancel
Save