We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e5ab4f commit c360461Copy full SHA for c360461
roles/nam/libraries/util.bash
@@ -16,7 +16,7 @@ function autoSudo()
16
17
function setupRepository()
18
{
19
- local -r repositoryPath="$(getCurrentUserHomeFolder)/git/github.com/gdbtek"
+ local -r repositoryPath='/opt/git/github.com/gdbtek'
20
21
header 'SETTING UP REPOSITORY'
22
@@ -38,7 +38,7 @@ function updateRepositoryOnLogin()
38
39
header 'UPDATING REPOSITORY ON LOGIN'
40
41
- local -r command='cd ~/git/github.com/gdbtek/ubuntu-cookbooks/cookbooks && git pull'
+ local -r command='cd /opt/git/github.com/gdbtek/ubuntu-cookbooks/cookbooks && git pull'
42
43
appendToFileIfNotFound "$(getProfileFilePath "${userLogin}")" "${command}" "${command}" 'false' 'false' 'true'
44
}
0 commit comments