Correct stupid errors
This commit is contained in:
parent
0523c113b0
commit
64573a9f58
@ -19,7 +19,7 @@ for dir in $sync_directory/*; do
|
||||
echo "pulling $dir"
|
||||
git -C $dir pull 2>/dev/null >/dev/null
|
||||
if [ -e $dir/install.sh ]; then
|
||||
echo "Running $dir\'s install script..."
|
||||
echo "Running $dir's install script..."
|
||||
$dir/install.sh
|
||||
fi
|
||||
elif [ $REMOTE = $BASE ]; then
|
||||
|
@ -9,9 +9,9 @@ sudo cp $(dirname "$0")/systemd-templates/conf-sync.service /etc/systemd/system/
|
||||
sudo sed -i -e "s/PH_USER/$(whoami)/g" /etc/systemd/system/conf-sync.service
|
||||
sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/conf-sync.service
|
||||
if [ "$client_type" = "server" ]; then
|
||||
sudo cp $(dirname "$0")/systemd-templates/dns-update.timer /etc/systemd/system/conf-sync.timer
|
||||
sudo cp $(dirname "$0")/systemd-templates/conf-sync-server.timer /etc/systemd/system/conf-sync.timer
|
||||
else
|
||||
sudo cp $(dirname "$0")/systemd-templates/dns-update.timer /etc/systemd/system/conf-sync.timer
|
||||
sudo cp $(dirname "$0")/systemd-templates/conf-sync-desktop.timer /etc/systemd/system/conf-sync.timer
|
||||
fi
|
||||
|
||||
echo "Reloading Systemd..."
|
||||
|
Loading…
Reference in New Issue
Block a user