File: install.gnome

package info (click to toggle)
guitar 0.1.4-7
  • links: PTS
  • area: main
  • in suites: potato
  • size: 848 kB
  • ctags: 724
  • sloc: ansic: 7,372; sh: 327; makefile: 89
file content (24 lines) | stat: -rw-r--r-- 1,092 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Modified for Debian GNU/Linux by Nathan Sandver <nsandver@debian.org>
#if [ -e ./using_gnome ]; then
#  if [ "$1" = "uninstall" ]; then
#	rm `gnome-config --prefix`/share/pixmaps/guiTAR.xpm
#	rm `gnome-config --prefix`/share/gnome/apps/Utilities/guiTAR.desktop
#  else
#  	./mkinstalldirs `gnome-config --prefix`/share/pixmaps
#	cp -f src/guiTAR.xpm `gnome-config --prefix`/share/pixmaps/
#  	./mkinstalldirs `gnome-config --prefix`/share/gnome/apps/Utilities
#	cp -f guiTAR.desktop `gnome-config --prefix`/share/gnome/apps/Utilities/
#  fi
#fi

if [ -e ./using_gnome ]; then
  if [ "$1" = "uninstall" ]; then
        rm $DESTDIR`gnome-config --prefix`/share/pixmaps/guiTAR.xpm
        rm $DESTDIR`gnome-config --prefix`/share/apps/Utilities/guiTAR.desktop
  else
        ./mkinstalldirs $DESTDIR`gnome-config --prefix`/share/pixmaps
        cp -f src/guiTAR.xpm $DESTDIR`gnome-config --prefix`/share/pixmaps/
        ./mkinstalldirs $DESTDIR`gnome-config --prefix`/share/gnome/apps/Utilities
        cp -f guiTAR.desktop $DESTDIR`gnome-config --prefix`/share/gnome/apps/Utilities/
  fi
fi