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 3dba01d commit ac872beCopy full SHA for ac872be
test/custom_init.sh
@@ -1,9 +1,9 @@
1
set -e
2
sudo microdnf install git
3
sudo -u splunk mkdir -p /opt/splunk/vcs/{git_tmp_backup,git_tmp_restore}
4
+if [ ! -d "/opt/splunk/vcs/backup.git" ]; then
5
sudo -u splunk mkdir -p /opt/splunk/vcs/backup.git
6
sudo -u splunk sh -c "cd /opt/splunk/vcs/backup.git && git init --bare --shared"
-if [ ! -d "/opt/splunk/vcs/backup.git" ]; then
7
sudo -u splunk sh -c "cd /opt/splunk/vcs/ && git clone backup.git"
8
sudo -u splunk sh -c "git config --global user.email '[email protected]'"
9
sudo -u splunk sh -c "git config --global user.name 'BackupUser'"
0 commit comments