diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-06 00:37:06 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 00:55:52 +0100 |
| commit | f6f4e1c61f4865f7907b366424d62a91039c60d4 (patch) | |
| tree | a9fe81671cee8f488a41ac316bcd92ccf044eb4a /scripts | |
| parent | {inputs.nix,unflake.nix}: Update (diff) | |
| download | nixos-server-f6f4e1c61f4865f7907b366424d62a91039c60d4.zip | |
scripts/build.sh: Don't fail if the result symlinks don't exist
Diffstat (limited to '')
| -rwxr-xr-x | scripts/build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index b311eb6..6c3d246 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -23,6 +23,8 @@ remove_symlink() { link="$1" if [ -L "$link" ]; then rm "$link" + elif ! [ -e "$link" ]; then + : "Not existing file is also okay" else echo "ERROR: '$link' is not a symlink. Not removing it." 1>&2 exit 1 |
