Correct error in conf-sync deployment
This commit is contained in:
parent
951adc1305
commit
742aa8fa1e
1
setup.sh
1
setup.sh
@ -43,6 +43,7 @@ get_sync() {
|
|||||||
sudo -H -u $user git clone https://gitea.kto.black/adminconf/conf-sync.git $sync_directory_path/conf-sync
|
sudo -H -u $user git clone https://gitea.kto.black/adminconf/conf-sync.git $sync_directory_path/conf-sync
|
||||||
sudo -H -u $user cp $sync_directory_path/conf-sync/variables.conf.template \
|
sudo -H -u $user cp $sync_directory_path/conf-sync/variables.conf.template \
|
||||||
$sync_directory_path/conf-sync/variables.conf
|
$sync_directory_path/conf-sync/variables.conf
|
||||||
|
sudo -H -u $user sed -i -e "s/\"desktop\"/\"server\"/g" $sync_directory_path/conf-sync/variables.conf
|
||||||
sudo -H -u $user $sync_directoyy_path/conf-sync/install.sh
|
sudo -H -u $user $sync_directoyy_path/conf-sync/install.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user