mirror of
git://slackware.nl/current.git
synced 2024-11-16 07:48:02 +01:00
9664bee729
Wed Sep 26 01:10:42 UTC 2012 Slackware 14.0 x86_64 stable is released! We're perfectionists here at Slackware, so this release has been a long time a-brewing. But we think you'll agree that it was worth the wait. Slackware 14.0 combines modern components, ease of use, and flexible configuration... our "KISS" philosophy demands it. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. Thanks to everyone who helped make this happen. The Slackware team, the upstream developers, and (of course) the awesome Slackware user community. Have fun! :-)
32 lines
991 B
Bash
32 lines
991 B
Bash
# 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
|
|
|