1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

add /etc/static path to warning messages

This commit is contained in:
Daiderd Jordan 2016-12-19 21:53:14 +01:00
parent 698713f2d9
commit 66f249f22a
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -47,7 +47,7 @@ in
for link in $(ls /etc/static/); do
if [ -e "/etc/$link" ]; then
if [ ! -L "/etc/$link" ]; then
echo "warning: /etc/$link exists, skipping..." >&2
echo "warning: not linking /etc/static/$link because /etc/$link exists, skipping..." >&2
fi
else
ln -sfn "/etc/static/$link" "/etc/$link"