fix: add /etc/lsb-release generation, fix calamares desktop to use calamares-next

This commit is contained in:
2026-06-23 13:07:12 +02:00
parent 59b3224aaa
commit 3099b79251
+11 -2
View File
@@ -183,8 +183,8 @@ mkdir -p "/usr/share/cnchi-memes"
echo "---> Fix cnchi desktop file to use sudo -E --->"
sed -i 's|^Exec=.*cnchi.*|Exec=sudo -E cnchi|' "/usr/share/applications/cnchi.desktop"
echo "---> Fix calamares desktop file to use sudo -E --->"
sed -i 's|^Exec=.*calamares.*|Exec=sudo -E calamares -d|' "/usr/share/applications/calamares.desktop" 2>/dev/null || true
echo "---> Fix calamares desktop file to use launcher --->"
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 --->"
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"
BUILD_ID=rolling
VERSION_ID="rolling"
VERSION_CODENAME=NeXT
HOME_URL="https://github.com/Antergos-NeXT"
SUPPORT_URL="https://github.com/Antergos-NeXT"
BUG_REPORT_URL="https://github.com/Antergos-NeXT/issues"
LOGO=antergos-icon
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 --->"
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