File: STANDARD_installation

package info (click to toggle)
foomatic-filters 4.0.17-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,216 kB
  • sloc: ansic: 6,372; sh: 2,532; perl: 219; makefile: 155; python: 8
file content (15 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -x
set -e
if [ ! -f configure ] ; then sh make_configure; fi
./configure --prefix=/usr --sysconfdir=/etc
make
make -n install
set +x
if [ "`id -u`" != 0 ] ; then
	echo "run make install as root:"
	echo "su root -c 'make install'"
	echo "   OR   "
	echo "sudo make install"
	exit 1
fi