Commit 7448d049 authored by Noud Kerver's avatar Noud Kerver

fix script

parent 6a127559
Pipeline #249 failed with stage
in 54 seconds
......@@ -26,7 +26,7 @@ if [ -z "$DEVICE" ]; then
exit 1
fi
if [ "$USER" != "root" ]; then
if [ "$(whoami)" != "root" ]; then
echo "User must be root"
exit 1
fi
......@@ -89,7 +89,7 @@ apt-get install -y \
su - yui
if [ "$USER" != "yui" ]; then
if [ "$(whoami)" != "yui" ]; then
echo "User must be yui"
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment