summaryrefslogtreecommitdiff
path: root/checkinst.sh
blob: 957267c2f51157f0f939c004b413d3a77a8ca218 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

CMD="ln -svf $PWD/libbu++.so /usr/lib; ln -svf $PWD/bu /usr/include"

if [ $UID == 0 ]; then
	bash -c "$CMD"
else
	echo This script needs root access...
	su root -c "$CMD"
fi