smlinux/gtk/gtk2/doinst.sh
PktSurf 4a7a115ed4 Fixed CFLAGS in extra/{feh,v4l-utils} and gtk/libunique
Upgraded net/samba to 4.18.0
Discarded doinst.sh from extra/{mpv,v4l-utils} and gtk/{gcr,goffice,gsettings-desktop-schemas}
Discarded gtk/gtk-sharp
Repositioned nand-utils source extraction code inside a subshell in extra/mtd-utils
Discarded code to remove tests in gtk/{atkmm,cairomm,libsoup}
Disabled tests in build option of gtk/{gdk-pixbuf,gtk3,libdazzle}
Fixed mkdir code in gtk/{gegl,gnome-desktop,gobject-introspection,libdazzle,libglade,libmanette} for aiding in resuming build
Rewrote gtk/gnome-icon-theme pc file in the build file itself
Fixed gtk/gtk2's doinst.sh
Disabled static libraries compile in gtk/openjpeg
Updated buildlist of net
Fixed net/privoxy build file
2023-03-16 23:19:14 +05:30

16 lines
484 B
Bash

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...
}
config etc/gtk-2.0/im-multipress.conf.new
rm -f share/icons/*/icon-theme.cache >/dev/null 2>&1
[ -x /etc/rc.d/rc.gtk ] && /etc/rc.d/rc.gtk