From 498ee552f10788baeeeacf6026964f350d8e85eb Mon Sep 17 00:00:00 2001 From: Azure Zanculmarktum Date: Sun, 21 May 2017 09:51:38 +0700 Subject: desktop/arc-icon-theme: Added (Arc icon theme). Signed-off-by: Willy Sudiarto Raharjo --- desktop/arc-icon-theme/doinst.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 desktop/arc-icon-theme/doinst.sh (limited to 'desktop/arc-icon-theme/doinst.sh') diff --git a/desktop/arc-icon-theme/doinst.sh b/desktop/arc-icon-theme/doinst.sh new file mode 100644 index 0000000000..61c1fa270f --- /dev/null +++ b/desktop/arc-icon-theme/doinst.sh @@ -0,0 +1,14 @@ +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 usr/share/icons/Arc/index.theme.new -- cgit v1.2.3