diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2019-09-19 22:48:58 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-09-20 08:59:47 +0200 |
commit | 3fb911844eaa3e98d80a8cc6c946202904fe8693 (patch) | |
tree | b614a5a6e02c370bd4824e86980b7b8c9ab442de /slackware64/l/glib2/doinst.sh | |
parent | a580cc0d3e082bb499f39ba917b24149bdb68ac7 (diff) | |
download | current-3fb911844eaa3e98d80a8cc6c946202904fe8693.tar.gz |
Thu Sep 19 22:48:58 UTC 201920190919224858
Thanks to Robby Workman for helping upgrade the GTK stack!
a/kernel-generic-4.19.74-x86_64-1.txz: Upgraded.
a/kernel-huge-4.19.74-x86_64-1.txz: Upgraded.
a/kernel-modules-4.19.74-x86_64-1.txz: Upgraded.
d/kernel-headers-4.19.74-x86-1.txz: Upgraded.
d/vala-0.46.1-x86_64-1.txz: Upgraded.
k/kernel-source-4.19.74-noarch-1.txz: Upgraded.
l/adwaita-icon-theme-3.34.0-noarch-1.txz: Upgraded.
l/at-spi2-atk-2.34.0-x86_64-1.txz: Upgraded.
l/at-spi2-core-2.34.0-x86_64-1.txz: Upgraded.
l/atk-2.34.1-x86_64-1.txz: Upgraded.
l/dconf-0.34.0-x86_64-1.txz: Upgraded.
l/dconf-editor-3.34.1-x86_64-1.txz: Upgraded.
l/fuse3-3.6.2-x86_64-1.txz: Added.
This is required by gvfs and sshfs.
l/glib-networking-2.62.0-x86_64-1.txz: Upgraded.
l/glib2-2.62.0-x86_64-1.txz: Upgraded.
l/gnome-themes-extra-3.28-x86_64-1.txz: Added.
l/gnome-themes-standard-3.22.3-x86_64-2.txz: Removed.
Upstream has renamed this to gnome-themes-extra.
l/gobject-introspection-1.62.0-x86_64-1.txz: Upgraded.
l/gsettings-desktop-schemas-3.34.0-x86_64-1.txz: Upgraded.
l/gvfs-1.42.0-x86_64-1.txz: Upgraded.
l/imagemagick-6.9.10_65-x86_64-1.txz: Upgraded.
l/librsvg-2.46.0-x86_64-1.txz: Upgraded.
l/libsoup-2.68.1-x86_64-1.txz: Upgraded.
l/pygobject3-3.34.0-x86_64-1.txz: Upgraded.
l/python-packaging-19.2-x86_64-1.txz: Upgraded.
l/vte-0.58.0-x86_64-1.txz: Upgraded.
n/bind-9.14.6-x86_64-1.txz: Upgraded.
n/sshfs-3.5.2-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'slackware64/l/glib2/doinst.sh')
-rw-r--r-- | slackware64/l/glib2/doinst.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/slackware64/l/glib2/doinst.sh b/slackware64/l/glib2/doinst.sh new file mode 100644 index 00000000..a14f9606 --- /dev/null +++ b/slackware64/l/glib2/doinst.sh @@ -0,0 +1,32 @@ +# Handle the incoming configuration files: +config() { + for infile in $1; do + NEW="$infile" + 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... + done +} + +# Prepare the new configuration files +for file in etc/profile.d/libglib2.csh.new etc/profile.d/libglib2.sh.new ; do + if test -e $(dirname $file)/$(basename $file .new) ; then + if [ ! -x $(dirname $file)/$(basename $file .new) ]; then + chmod 644 $file + else + chmod 755 $file + fi + fi + config $file +done + +# Try to run these. If they fail, no biggie. +chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null +chroot . /usr/bin/gio-querymodules @LIBDIR@/gio/modules/ 1> /dev/null 2> /dev/null + |