install.sh: remove ponctual user definition
This commit is contained in:
parent
7058a00720
commit
c72ca97937
@ -1,12 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
run_directory=$(dirname "$0")
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
user=$(whoami)
|
||||
else
|
||||
user=$1
|
||||
fi
|
||||
user=$(whoami)
|
||||
|
||||
if [[ $user != 'root' ]]; then
|
||||
echo "Copying rcs to home directory..."
|
||||
|
Loading…
Reference in New Issue
Block a user