mirror of
https://github.com/koush/scrypted.git
synced 2026-02-09 00:39:56 +00:00
installer: fix service generation bug
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user