slackware-current/testing/source/mesa/doinst.sh
Patrick J Volkerding eab537ba73 Sun Dec 22 03:52:10 UTC 2024
a/userspace-rcu-0.15.0-x86_64-1.txz:  Upgraded.
ap/nano-8.3-x86_64-1.txz:  Upgraded.
d/luajit-2.1.1734355927-x86_64-1.txz:  Upgraded.
x/mesa-24.2.8-x86_64-1.txz:  Upgraded.
  We'll use this more stable branch in the main tree for a while.
x/wayland-protocols-1.39-noarch-1.txz:  Upgraded.
xap/gnuplot-6.0.2-x86_64-1.txz:  Upgraded.
xfce/xfce4-screensaver-4.18.4-x86_64-1.txz:  Upgraded.
xfce/xfce4-session-4.20.0-x86_64-3.txz:  Rebuilt.
  startxfce4: call labwc with --session. Thanks to nikybiasionoru_82.
testing/packages/mesa-24.3.2-x86_64-1.txz:  Added.
  Moved Mesa 24.3 into /testing.
2024-12-22 06:09:38 +01:00

17 lines
596 B
Bash

#!/bin/sh
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...
}
# Don't mess with /etc/drirc. Mesa now installs the defaults as
# /usr/share/drirc.d/00-mesa-defaults.conf. We won't protect that
# as a .new file as it shouldn't be modified. Create /etc/drirc if
# you need local overrides.
#config etc/drirc.new