File: wrapperthemes.sh

package info (click to toggle)
comixcursors 0.6.1-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 880 kB
  • ctags: 35
  • sloc: sh: 567; makefile: 87
file content (13 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
ICONDIR=usr/share/icons
WRAPPERDIR=etc/X11/cursors
CURDIR=`pwd`
        cd debian/comixcursors/${ICONDIR}
	for theme in Comix*
	do 
		grep -v Inherits ${CURDIR}/debian/comixcursors/${ICONDIR}/${theme}/index.theme > tmp || exit 1
		echo "Inherits = ${theme}" >> tmp  || exit 1
		install -m 644 tmp ${CURDIR}/debian/comixcursors/${WRAPPERDIR}/${theme}.theme || exit 1
		rm tmp || exit 1
	done 
exit 0