|
@@ -6,9 +6,9 @@ hostname="${host^^}"
|
|
|
repo_directory="/home/control/qconfig_$hostname"
|
|
repo_directory="/home/control/qconfig_$hostname"
|
|
|
|
|
|
|
|
# Set Permissions
|
|
# Set Permissions
|
|
|
-chmod 660 ./*
|
|
|
|
|
-chmod 660 "$HOME/.bashrc"
|
|
|
|
|
-chmod 770 "$HOME/dots"
|
|
|
|
|
|
|
+chmod 660 $(find ./ -type f)
|
|
|
|
|
+chmod 660 $(find "$HOME/.bashrc" -type f)
|
|
|
|
|
+chmod 770 $("$HOME/dots" -type d)
|
|
|
|
|
|
|
|
function add_string_to_file() {
|
|
function add_string_to_file() {
|
|
|
# Checks if a string is in a file
|
|
# Checks if a string is in a file
|