summaryrefslogtreecommitdiff
path: root/common/mkiconlinks.sh
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-05-19 14:22:22 +0200
committerraveit65 <[email protected]>2019-05-19 16:08:27 +0200
commit07caf38902a8a53f6da0b3d312c95602ae39e66e (patch)
treee7553f986fa772d955d39dde5eb0f21a88a3ab15 /common/mkiconlinks.sh
parent3bde1f1aa605bc418e921786243bd8c09a23fb0e (diff)
downloadmate-themes-07caf38902a8a53f6da0b3d312c95602ae39e66e.tar.bz2
mate-themes-07caf38902a8a53f6da0b3d312c95602ae39e66e.tar.xz
include GtkStock icons directly in HCI
Diffstat (limited to 'common/mkiconlinks.sh')
-rwxr-xr-xcommon/mkiconlinks.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/common/mkiconlinks.sh b/common/mkiconlinks.sh
deleted file mode 100755
index b5249e42..00000000
--- a/common/mkiconlinks.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-# usage:
-# mkiconlinks linkdata icondir
-#
-# Linkdata file consists of lines of the form:
-# filename1: filename2 filename3 ... filenameN
-#
-# For each line in the data file, the script creates a symbolic link to
-# $(icondir)/filename1 from each of $(icondir)/filename2,
-# $(icondir)/filename3 ... $(icondir)/filenameN.
-
-exec < $1
-cd $2
-
-read NEXTLINE
-while [ ! -z "$NEXTLINE" ] ; do
-
- # Skip lines beginning with '#'
- if ! echo "$NEXTLINE" | grep -q '^#'; then
- #Extract first field, minus its trailing colon
- ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 's/://'`
-
- #Extract list of following fields
- LINKTO=`echo $NEXTLINE | awk '/:/{for (i=2; i<=NF; i++) print $i}'`
-
- if [ ! -z "$LINKTO" ] ; then
- echo "Creating symlinks to `pwd`/$ORIG_FILE"
- fi
-
- fi
-
- #Link each pair in turn
- for i in $LINKTO ; do
- ln -s -f "$ORIG_FILE" "$i"
- done
-
- read NEXTLINE
-done
-exit 0