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

master
Matthias Klumpp 4 years ago
parent 471128aed3
commit bbb7a256cd

@ -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