Correct error in conf-sync deployment

This commit is contained in:
Alexandre CATTEAU 2022-03-21 12:42:28 +01:00
parent 951adc1305
commit 742aa8fa1e

View File

@ -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
} }