installer: fix service generation bug

This commit is contained in:
Koushik Dutta
2022-02-15 11:42:03 -08:00
parent b61574063a
commit ae45ee2e34
2 changed files with 2 additions and 3 deletions

View File

@@ -6,11 +6,10 @@ then
exit 1
fi
set -x
# bad hack to run a dockerfile like a shell script.
RUN() {
echo "Running: $@"
$@
if [ "$?" != "0" ]
then

View File

@@ -56,7 +56,7 @@ then
fi
RUN cat <<EOT > ~/Library/LaunchAgents/app.scrypted.server.plist
cat <<EOT > ~/Library/LaunchAgents/app.scrypted.server.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">