mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-15 20:06:10 +05:00
[install] omit chown on plist created by the current user (#520)
This commit is contained in:
committed by
GitHub
parent
e8682daed3
commit
5faec8e03d
@@ -179,7 +179,6 @@ EOF
|
||||
sysPath="${HOME}/Library/LaunchAgents"
|
||||
[[ ! -d "$sysPath" ]] && mkdir -p ${sysPath}
|
||||
cp "$dirInstall/$serviceName.plist" $sysPath
|
||||
sudo chown $user "$sysPath/$serviceName.plist"
|
||||
chmod 0644 "$sysPath/$serviceName.plist"
|
||||
launchctl load -w "$sysPath/$serviceName.plist" 1>/dev/null 2>&1
|
||||
else
|
||||
@@ -232,4 +231,4 @@ while true; do
|
||||
done
|
||||
echo " Have Fun!"
|
||||
echo ""
|
||||
sleep 5
|
||||
sleep 5
|
||||
|
||||
Reference in New Issue
Block a user