summaryrefslogtreecommitdiffstats
path: root/mltk
diff options
context:
space:
mode:
authorJonathan Bauer2013-02-18 19:17:47 +0100
committerJonathan Bauer2013-02-18 19:17:47 +0100
commit1e4162ba5d22150428c1a0e06c4b578789b88366 (patch)
treee44b275fa5d39772b0cfea8cad114d680373f9b3 /mltk
parentfixers... (diff)
downloadtm-scripts-1e4162ba5d22150428c1a0e06c4b578789b88366.tar.gz
tm-scripts-1e4162ba5d22150428c1a0e06c4b578789b88366.tar.xz
tm-scripts-1e4162ba5d22150428c1a0e06c4b578789b88366.zip
fixes
Diffstat (limited to 'mltk')
-rwxr-xr-xmltk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mltk b/mltk
index 2329e707..b53c3976 100755
--- a/mltk
+++ b/mltk
@@ -19,6 +19,8 @@
SELF=$(readlink -f $0)
ROOT_DIR=$(dirname ${SELF})
+. ${ROOT_DIR}/helper/functions.common.sh
+
banner () {
echo -e "\t __ __ __ "
echo -e "\t.--------.| | | |_| |--."
@@ -51,7 +53,7 @@ print_usage() {
initial_checks() {
if [ "x$(whoami)" != "xroot" ]; then
- echo "ERROR: You need to have root rights to install packages."
+ perror "ERROR: You need to have root rights to install packages."
exit 1
else
banner