fix: add /etc/lsb-release generation, fix calamares desktop to use calamares-next
This commit is contained in:
+11
-2
@@ -183,8 +183,8 @@ mkdir -p "/usr/share/cnchi-memes"
|
|||||||
echo "---> Fix cnchi desktop file to use sudo -E --->"
|
echo "---> Fix cnchi desktop file to use sudo -E --->"
|
||||||
sed -i 's|^Exec=.*cnchi.*|Exec=sudo -E cnchi|' "/usr/share/applications/cnchi.desktop"
|
sed -i 's|^Exec=.*cnchi.*|Exec=sudo -E cnchi|' "/usr/share/applications/cnchi.desktop"
|
||||||
|
|
||||||
echo "---> Fix calamares desktop file to use sudo -E --->"
|
echo "---> Fix calamares desktop file to use launcher --->"
|
||||||
sed -i 's|^Exec=.*calamares.*|Exec=sudo -E calamares -d|' "/usr/share/applications/calamares.desktop" 2>/dev/null || true
|
sed -i 's|^Exec=.*calamares.*|Exec=sudo -E calamares-next|' "/usr/share/applications/calamares.desktop" 2>/dev/null || true
|
||||||
|
|
||||||
echo "---> Symlink antergos icon for calamares branding --->"
|
echo "---> Symlink antergos icon for calamares branding --->"
|
||||||
ln -sf "/usr/share/antergos/antergos-icon.png" "/usr/share/calamares/branding/antergos-next/squid.png" 2>/dev/null || true
|
ln -sf "/usr/share/antergos/antergos-icon.png" "/usr/share/calamares/branding/antergos-next/squid.png" 2>/dev/null || true
|
||||||
@@ -199,12 +199,21 @@ ID=antergos
|
|||||||
ID_LIKE="arch"
|
ID_LIKE="arch"
|
||||||
BUILD_ID=rolling
|
BUILD_ID=rolling
|
||||||
VERSION_ID="rolling"
|
VERSION_ID="rolling"
|
||||||
|
VERSION_CODENAME=NeXT
|
||||||
HOME_URL="https://github.com/Antergos-NeXT"
|
HOME_URL="https://github.com/Antergos-NeXT"
|
||||||
SUPPORT_URL="https://github.com/Antergos-NeXT"
|
SUPPORT_URL="https://github.com/Antergos-NeXT"
|
||||||
BUG_REPORT_URL="https://github.com/Antergos-NeXT/issues"
|
BUG_REPORT_URL="https://github.com/Antergos-NeXT/issues"
|
||||||
LOGO=antergos-icon
|
LOGO=antergos-icon
|
||||||
OSEOF
|
OSEOF
|
||||||
|
|
||||||
|
echo "---> Set Antergos NeXT lsb-release --->"
|
||||||
|
cat > "/etc/lsb-release" << 'LSBEOF'
|
||||||
|
DISTRIB_ID=Antergos
|
||||||
|
DISTRIB_RELEASE=rolling
|
||||||
|
DISTRIB_CODENAME=NeXT
|
||||||
|
DISTRIB_DESCRIPTION="Antergos NeXT"
|
||||||
|
LSBEOF
|
||||||
|
|
||||||
echo "---> Configure GNOME Shell theme for live user --->"
|
echo "---> Configure GNOME Shell theme for live user --->"
|
||||||
su - antergos -c "dbus-launch --exit-with-session gsettings set org.gnome.shell.extensions.user-theme name 'Antergos-NeXT'" 2>/dev/null || true
|
su - antergos -c "dbus-launch --exit-with-session gsettings set org.gnome.shell.extensions.user-theme name 'Antergos-NeXT'" 2>/dev/null || true
|
||||||
su - antergos -c "dbus-launch --exit-with-session gsettings set org.gnome.shell enabled-extensions \"['user-theme@gnome-shell-extensions.gcampax.github.com']\"" 2>/dev/null || true
|
su - antergos -c "dbus-launch --exit-with-session gsettings set org.gnome.shell enabled-extensions \"['user-theme@gnome-shell-extensions.gcampax.github.com']\"" 2>/dev/null || true
|
||||||
|
|||||||
Reference in New Issue
Block a user