Fixed chmod position
This commit is contained in:
1 parent
fa00d3d64f
commit
6368e5bb05
1 file changed
+3
-3
@@ -1,14 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Grant SH execute
|
||||
chmod +x ./**/*.sh
|
||||
|
||||
# Disable running as root.
|
||||
if [[ "$EUID" -eq 0 ]]; then
|
||||
echo "Please do not run as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Grant SH execute
|
||||
chmod +x ./**/*.sh
|
||||
|
||||
# Arch Linux Setup
|
||||
if [ -f "/etc/arch-release" ]; then
|
||||
./scripts/install-arch.sh
|
||||
|
||||
Reference in new issue
Block a user