Make install dir a git safe directory
This commit is contained in:
@@ -53,6 +53,9 @@ elog_add "Successfully obtained Token for User ${DAVTOKEN_USER}"
|
|||||||
elog_add ""
|
elog_add ""
|
||||||
elog_add "Update and install client software"
|
elog_add "Update and install client software"
|
||||||
|
|
||||||
|
#Set global to enable git
|
||||||
|
git config --global --add safe.directory /opt/sys_config
|
||||||
|
|
||||||
# First, check the sudo rule
|
# First, check the sudo rule
|
||||||
elog_add "Check the matching client rule:"
|
elog_add "Check the matching client rule:"
|
||||||
#Somewhat strange "sudo -l" will *sometimes* ask for password instead of just checking if the rule can be found, so it needs -n to be silent
|
#Somewhat strange "sudo -l" will *sometimes* ask for password instead of just checking if the rule can be found, so it needs -n to be silent
|
||||||
|
|||||||
Reference in New Issue
Block a user