Compare commits
2 Commits
3840e5be90
...
f02ecf1600
Author | SHA1 | Date | |
---|---|---|---|
f02ecf1600 | |||
c72ca97937 |
@ -1,12 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
run_directory=$(dirname "$0")
|
run_directory=$(dirname "$0")
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
|
||||||
user=$(whoami)
|
user=$(whoami)
|
||||||
else
|
|
||||||
user=$1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $user != 'root' ]]; then
|
if [[ $user != 'root' ]]; then
|
||||||
echo "Copying rcs to home directory..."
|
echo "Copying rcs to home directory..."
|
||||||
|
Loading…
Reference in New Issue
Block a user