File: ranlipuninstall

package info (click to toggle)
libranlip 1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,020 kB
  • sloc: sh: 8,349; cpp: 650; ansic: 340; makefile: 114
file content (16 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

#run make uninstall and then clean
if [ -f Makefile ]
then 	echo "Uninstalling liblip"
	make uninstall
	make clean
else	echo "makefile not found... might have to uninstall manually!"
fi

# remove the document directory.

DOCS_DIR=`cat docs_dir`

echo "rm -rf $DOCS_DIR"
rm -rf $DOCS_DIR