projects
/
contrib
/
pines
/
report-creator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffedb7
)
adding check for root running the install script
author
Chris Sharp
<csharp@georgialibraries.org>
Sun, 2 Apr 2017 13:10:42 +0000
(09:10 -0400)
committer
Chris Sharp
<csharp@georgialibraries.org>
Sun, 2 Apr 2017 13:10:42 +0000
(09:10 -0400)
install-ubuntu-14.04.sh
patch
|
blob
|
history
diff --git
a/install-ubuntu-14.04.sh
b/install-ubuntu-14.04.sh
index
c0d5604
..
9cadd35
100755
(executable)
--- a/
install-ubuntu-14.04.sh
+++ b/
install-ubuntu-14.04.sh
@@
-18,6
+18,10
@@
#
# A script to automate installation of the report-creator feature.
+if [ "$(whoami)" != "root" ]; then
+ echo "Must be root to run this script." && exit 1
+fi
+
APT_TOOL="apt-get"
OSRF_WEB_ROOT="/openils/var/web"