diff options
Diffstat (limited to 'testing/source/vtown/kde/doinst.sh')
57 files changed, 395 insertions, 0 deletions
diff --git a/testing/source/vtown/kde/doinst.sh/blinken b/testing/source/vtown/kde/doinst.sh/blinken new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/blinken @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/bluedevil b/testing/source/vtown/kde/doinst.sh/bluedevil new file mode 100644 index 00000000..85ff4d86 --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/bluedevil @@ -0,0 +1,4 @@ +#!/bin/sh +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi diff --git a/testing/source/vtown/kde/doinst.sh/cantor b/testing/source/vtown/kde/doinst.sh/cantor new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/cantor @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/gwenview b/testing/source/vtown/kde/doinst.sh/gwenview new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/gwenview @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/k3b b/testing/source/vtown/kde/doinst.sh/k3b new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/k3b @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kalgebra b/testing/source/vtown/kde/doinst.sh/kalgebra new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kalgebra @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kalzium b/testing/source/vtown/kde/doinst.sh/kalzium new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kalzium @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kamera b/testing/source/vtown/kde/doinst.sh/kamera new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kamera @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kanagram b/testing/source/vtown/kde/doinst.sh/kanagram new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kanagram @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kate b/testing/source/vtown/kde/doinst.sh/kate new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kate @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kaudiocreator b/testing/source/vtown/kde/doinst.sh/kaudiocreator new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kaudiocreator @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kbruch b/testing/source/vtown/kde/doinst.sh/kbruch new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kbruch @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kcalc b/testing/source/vtown/kde/doinst.sh/kcalc new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kcalc @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kcolorchooser b/testing/source/vtown/kde/doinst.sh/kcolorchooser new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kcolorchooser @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdeaccessibility b/testing/source/vtown/kde/doinst.sh/kdeaccessibility new file mode 100644 index 00000000..22d4849b --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdeaccessibility @@ -0,0 +1,5 @@ + +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdeedu b/testing/source/vtown/kde/doinst.sh/kdeedu new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdeedu @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdegraphics b/testing/source/vtown/kde/doinst.sh/kdegraphics new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdegraphics @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdelibs b/testing/source/vtown/kde/doinst.sh/kdelibs new file mode 100644 index 00000000..d7006c70 --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdelibs @@ -0,0 +1,9 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + +if [ -x usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database /usr/share/mime >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdenetwork b/testing/source/vtown/kde/doinst.sh/kdenetwork new file mode 100644 index 00000000..22d4849b --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdenetwork @@ -0,0 +1,5 @@ + +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdepim b/testing/source/vtown/kde/doinst.sh/kdepim new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdepim @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdepim-runtime b/testing/source/vtown/kde/doinst.sh/kdepim-runtime new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdepim-runtime @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdeplasma-addons b/testing/source/vtown/kde/doinst.sh/kdeplasma-addons new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdeplasma-addons @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdesdk b/testing/source/vtown/kde/doinst.sh/kdesdk new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdesdk @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdevelop b/testing/source/vtown/kde/doinst.sh/kdevelop new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdevelop @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdevplatform b/testing/source/vtown/kde/doinst.sh/kdevplatform new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdevplatform @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdewebdev b/testing/source/vtown/kde/doinst.sh/kdewebdev new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdewebdev @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kdf b/testing/source/vtown/kde/doinst.sh/kdf new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kdf @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kgeography b/testing/source/vtown/kde/doinst.sh/kgeography new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kgeography @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/khangman b/testing/source/vtown/kde/doinst.sh/khangman new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/khangman @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kig b/testing/source/vtown/kde/doinst.sh/kig new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kig @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kinit b/testing/source/vtown/kde/doinst.sh/kinit new file mode 100644 index 00000000..27e18004 --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kinit @@ -0,0 +1,7 @@ +# Re-run the 'setcap' command which fails during package buikding +# (because of a mising DESTDIR?): +if [ -f usr/lib64/kf5/start_kdeinit ]; then + /sbin/setcap CAP_SYS_RESOURCE=+ep usr/lib64/kf5/start_kdeinit +elif [ -f usr/lib/kf5/start_kdeinit ]; then + /sbin/setcap CAP_SYS_RESOURCE=+ep usr/lib/kf5/start_kdeinit +fi diff --git a/testing/source/vtown/kde/doinst.sh/kiten b/testing/source/vtown/kde/doinst.sh/kiten new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kiten @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/klettres b/testing/source/vtown/kde/doinst.sh/klettres new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/klettres @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kmag b/testing/source/vtown/kde/doinst.sh/kmag new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kmag @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kmousetool b/testing/source/vtown/kde/doinst.sh/kmousetool new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kmousetool @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kmouth b/testing/source/vtown/kde/doinst.sh/kmouth new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kmouth @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kmplot b/testing/source/vtown/kde/doinst.sh/kmplot new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kmplot @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kolourpaint b/testing/source/vtown/kde/doinst.sh/kolourpaint new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kolourpaint @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/konsole b/testing/source/vtown/kde/doinst.sh/konsole new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/konsole @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kruler b/testing/source/vtown/kde/doinst.sh/kruler new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kruler @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kscreenlocker b/testing/source/vtown/kde/doinst.sh/kscreenlocker new file mode 100644 index 00000000..77beeaf1 --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kscreenlocker @@ -0,0 +1,5 @@ +# Send SIGTERM to any running kscreenlocker_greet after installing +# kcheckpass. This will trigger a restart of kscreenlocker_greet +# which prevents deadlock when migrating Plasma 5.9 -> 5.10. +# See email to distributions@kde.org by Martin Graesslin on Wed, 08 Mar 2017. +killall -TERM kscreenlocker_greet 1>/dev/null 2>/dev/null diff --git a/testing/source/vtown/kde/doinst.sh/kstars b/testing/source/vtown/kde/doinst.sh/kstars new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kstars @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/ktorrent b/testing/source/vtown/kde/doinst.sh/ktorrent new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/ktorrent @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/ktouch b/testing/source/vtown/kde/doinst.sh/ktouch new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/ktouch @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/ktp-contact-list b/testing/source/vtown/kde/doinst.sh/ktp-contact-list new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/ktp-contact-list @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/ktp-text-ui b/testing/source/vtown/kde/doinst.sh/ktp-text-ui new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/ktp-text-ui @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kturtle b/testing/source/vtown/kde/doinst.sh/kturtle new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kturtle @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/kwordquiz b/testing/source/vtown/kde/doinst.sh/kwordquiz new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/kwordquiz @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/marble b/testing/source/vtown/kde/doinst.sh/marble new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/marble @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/okular b/testing/source/vtown/kde/doinst.sh/okular new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/okular @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/oxygen-fonts b/testing/source/vtown/kde/doinst.sh/oxygen-fonts new file mode 100644 index 00000000..c4bc3b75 --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/oxygen-fonts @@ -0,0 +1,13 @@ + +# There's no need to chroot and do this during initial +# install, since there is a post-install script that +# does the same thing, saving time. +# Update X font indexes and the font cache: +if [ -x /usr/bin/mkfontdir ]; then + /usr/bin/mkfontscale /usr/share/fonts/TTF + /usr/bin/mkfontdir /usr/share/fonts/TTF +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache /usr/share/fonts/TTF +fi + diff --git a/testing/source/vtown/kde/doinst.sh/parley b/testing/source/vtown/kde/doinst.sh/parley new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/parley @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/powerdevil b/testing/source/vtown/kde/doinst.sh/powerdevil new file mode 100644 index 00000000..8745d629 --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/powerdevil @@ -0,0 +1,18 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +# Move over the new policy files: +config etc/polkit-1/rules.d/10-enable-upower-suspend.rules.new +config etc/polkit-1/rules.d/10-enable-session-power.rules.new +config etc/polkit-1/rules.d/10-enable-powerdevil-discrete-gpu.rules.new 2>/dev/null + diff --git a/testing/source/vtown/kde/doinst.sh/rocs b/testing/source/vtown/kde/doinst.sh/rocs new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/rocs @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/sddm b/testing/source/vtown/kde/doinst.sh/sddm new file mode 100644 index 00000000..09a1ccfb --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/sddm @@ -0,0 +1,89 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +# Create the daemon account and homedirectory otherwise SDDM won't start: +sddmuid=64 +sddmgid=64 +sddmhome=/var/lib/sddm + +if ! chroot . getent group sddm > /dev/null; then + chroot . groupadd -g $sddmgid sddm + res=$? + if [ $res -ne 0 ]; then +cat <<EOT +A group with GID $sddmgid already exists! +You'll have add a 'sddm' group manually. Run this command (as root): + groupadd -g GID sddm +and select a free value for GID that is below 500 (check /etc/group)" +Then, run an "upgradepkg --reinstall" of this sddm-qt5 package so that it can run the rest of the install script. +EOT + fi +fi +if ! chroot . getent passwd sddm > /dev/null; then + chroot . useradd -c "SDDM Daemon Owner" -d $sddmhome -u $sddmuid \ + -g sddm -s /bin/false sddm + res=$? + if [ $res -ne 0 ]; then + cat <<EOT +Could not create 'sddm' user account. +Does an account with UID $sddmuid already exist? +You'll have add a 'sddm' user manually. Run these commands (as root): + useradd -c "SDDM Daemon Owner" -d $sddmhome -u UID -g sddm -s /bin/false sddm + passwd -l sddm +and select a free value for UID that is below 500 (check /etc/passwd) +Then, run an "upgradepkg --reinstall" of this sddm-qt5 package so that it can run the rest of the install script. +EOT + fi +fi + +# Without a homedirectory, sddm will not start: +chroot . mkdir -p $sddmhome +chroot . chown -R ${sddmuid}:${sddmgid} $sddmhome 1>/dev/null + +# Execute this regardless of the pre-existence of the sddm account: +chroot . usermod -d $sddmhome sddm 1>/dev/null +chroot . passwd -l sddm 1>/dev/null +chroot . gpasswd -a sddm video 1>/dev/null + +# Generate a new configuration file if it does not exist: +chroot . sddm --example-config > etc/sddm.conf.new + +if ! grep -q "Current=breeze" etc/sddm.conf.new ; then + # Set the KDE5 theme 'breeze' as default, integrates better with Plasma 5: + sed -i -e "/\[Theme\]/,/^\[/s/^Current.*/Current=breeze/" etc/sddm.conf.new +fi + +if ! grep -q "MinimumVT=7" etc/sddm.conf.new ; then + # SDDM follows the systemd convention of starting the first graphical session + # on tty1. We prefer the old convention where tty1 through tty6 + # are reserved for text consoles: + cat <<EOT >> etc/sddm.conf.new + +[XDisplay] +MinimumVT=7 +EOT +fi + +# Move over the new confguration file if needed: +if [ -f etc/sddm.conf.new ]; then + config etc/sddm.conf.new +fi +# And our defaults file: +config etc/default/sddm.new + +# Also the session scripts: +config usr/share/sddm/scripts/Xsession.new +config usr/share/sddm/scripts/Xsetup.new +config usr/share/sddm/scripts/Xstop.new +config usr/share/sddm/scripts/wayland-session.new + diff --git a/testing/source/vtown/kde/doinst.sh/skanlite b/testing/source/vtown/kde/doinst.sh/skanlite new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/skanlite @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + diff --git a/testing/source/vtown/kde/doinst.sh/step b/testing/source/vtown/kde/doinst.sh/step new file mode 100644 index 00000000..e376b59a --- /dev/null +++ b/testing/source/vtown/kde/doinst.sh/step @@ -0,0 +1,5 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1 +fi + |