Fork of PureOS make-live.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
467 B

#!/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