mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
s
This commit is contained in:
1 parent
0058fcd818
commit
9d273956c2
1 file changed
+4
-1
+4
-1
@@ -4,7 +4,7 @@
|
||||
remote_repo="https://github.com/wickedyoda/public-setupfiles.git"
|
||||
|
||||
# Specify the local file path
|
||||
local_file="./pubic-setupfiles"
|
||||
local_file="/home/traver/pubic-setupfiles"
|
||||
|
||||
# Check if the local file path exists and is not empty
|
||||
if [ -d "$local_file" ] && [ -n "$(ls -A $local_file)" ]; then
|
||||
@@ -14,3 +14,6 @@ fi
|
||||
|
||||
# Clone the remote repository to the local file path
|
||||
git clone "$remote_repo" "$local_file"
|
||||
|
||||
cd /home/traver
|
||||
chmod +x ./public-setupfiles/*.sh
|
||||
Reference in new issue
Block a user