Browse Source

recipes: Establish xinitrc file when a window manager package is installed

Signed-off-by: Matías Fonzo <selk@dragora.org>
master
Matías Fonzo 2 months ago
parent
commit
68efd9f477
No known key found for this signature in database GPG Key ID: 3AAF1CEC203A99D5
  1. 4
      recipes/tde/tdebase/recipe
  2. 10
      recipes/xorg/app/twm/post-install
  3. 2
      recipes/xorg/app/twm/recipe

4
recipes/tde/tdebase/recipe

@ -173,6 +173,10 @@ chroot "\$rootdir" /usr/bin/gtk-update-icon-cache -q -f -i opt/trinity/share/ico
echo "Updating ICON cache: gtk-update-icon-cache -q -f -i opt/trinity/share/icons/crystalsvg"
chroot "\$rootdir" /usr/bin/gtk-update-icon-cache -q -f -i opt/trinity/share/icons/crystalsvg
# Set xinitrc as default to start TDE when this package is installed
cd -- "\${rootdir}/etc/X11/xinit" && ln -sf xinitrc-tde xinitrc
EOF
# Compress and link man pages (if needed)

10
recipes/xorg/app/twm/post-install

@ -1,11 +1,5 @@
# Make default symlink for xinitrc-twm if 'xinitrc' does not exist,
# or if 'xinitrc' is a dangling symlink
# Set xinitrc as default to start TWM when this package is installed
if test ! -e etc/X11/xinit/xinitrc || {
test -L etc/X11/xinit/xinitrc && test ! -e etc/X11/xinit/xinitrc
}
then
cd etc/X11/xinit && ln -sf xinitrc-twm xinitrc
fi
cd -- "\${rootdir}/etc/X11/xinit" && ln -sf xinitrc-twm xinitrc

2
recipes/xorg/app/twm/recipe

@ -20,7 +20,7 @@ set -e
program=twm
version=1.0.11
release=1
release=2
# Define a category for the output of the package name
pkgcategory=xorg_app

Loading…
Cancel
Save