(MOD) Added a feature where it displays the current user identity once it's not root.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$(whoami)" != "root" ]; then
|
||||
echo "The script require root privilege to execute properly. Current identity: $(whoami)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install Compound library.
|
||||
echo "Installing libcompound:"
|
||||
cp -v "libcompound.so" "/usr/lib"
|
||||
|
Reference in New Issue
Block a user