mirror of
https://github.com/nix-community/linuxkit-nix.git
synced 2024-09-11 11:55:24 +03:00
Remove write-bit from the group plist after updating
This commit is contained in:
parent
0b31642b0d
commit
594beedb26
@ -80,8 +80,9 @@ fi
|
||||
nix-store --add-root "$DIR/gcroot" --indirect --realize "$PLIST"
|
||||
|
||||
launchctl unload ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist 2> /dev/null || true
|
||||
chmod 660 ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist 2> /dev/null || true
|
||||
chmod 0640 ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist 2> /dev/null || true
|
||||
cp "$PLIST" ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist
|
||||
chmod 0640 ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist 2> /dev/null || true
|
||||
launchctl load ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist
|
||||
|
||||
cp "$EXAMPLE_PATH" "$DIR/example.nix"
|
||||
|
Loading…
Reference in New Issue
Block a user