calamares rebuild

This commit is contained in:
Rmys
2026-04-17 14:54:55 +03:00
parent b0a84adc2d
commit 060840f00d
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -10,8 +10,8 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("""sed -i 's|Fancy GNU/Linux 2020.2 LTS "Turgid Tuba"|Pisi GNU/Linux 2.3.4 LTS "Pisi Linux"|g' src/branding/default/branding.desc""")
shelltools.system("sed -i 's|2020.2|2.3.4|g' src/branding/default/branding.desc")
shelltools.system("""sed -i 's|Fancy GNU/Linux 2020.2 LTS "Turgid Tuba"|Pisi GNU/Linux 2.4.3 LTS "Pisi Linux"|g' src/branding/default/branding.desc""")
shelltools.system("sed -i 's|2020.2|2.4.3|g' src/branding/default/branding.desc")
shelltools.system("sed -i 's|FancyGL|Pisilinux|g' src/branding/default/branding.desc")
shelltools.makedirs("build")
@@ -44,6 +44,8 @@ def install():
pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "systemd: true", "systemd: false")
pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "symlink: true", "symlink: false")
pisitools.dosym("/usr/share/icons/hicolor/scalable/apps/calamares.svg", "/usr/share/pixmaps/calamares.svg")
pisitools.dodoc("../README.*")
@@ -5,7 +5,7 @@ Name=Pisi Linux — System Installer
Name[tr_TR]=Pisi Linux Sistem Yükleyici
Comment=Pisi Linux — System Installer
Comment[tr_TR]=Pisi Linux Sistem Yükleyici
Exec=sudo LC_ALL=en_US calamares %f
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY LC_ALL=en_US calamares %f
Icon=calamares
Terminal=false
StartupNotify=true