File: STANDARD_installation

package info (click to toggle)
foomatic-filters 4.0.17-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,108 kB
  • sloc: ansic: 6,371; sh: 2,532; makefile: 154; perl: 93; python: 8
file content (15 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (9)
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