diff options
author | Andrew Cady <d@jerkface.net> | 2017-01-23 14:37:13 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2017-01-23 14:37:13 -0500 |
commit | 5a4fb662502f37a0489c214514ce8ee103011fd3 (patch) | |
tree | a964aced97495f510cbf78f9122a26a2dc3d5a1c /dot/local/bin | |
parent | 4b1eb9d36e6ed185ef920e1911cbeedeac2136fb (diff) |
bugfix: selfie: correctly make ".latest" symlink
Diffstat (limited to 'dot/local/bin')
-rwxr-xr-x | dot/local/bin/selfie | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dot/local/bin/selfie b/dot/local/bin/selfie index 55d6adf..5046fad 100755 --- a/dot/local/bin/selfie +++ b/dot/local/bin/selfie | |||
@@ -28,4 +28,4 @@ silently amixer-enable-mic | |||
28 | banish | 28 | banish |
29 | record "$OUTPUT" | 29 | record "$OUTPUT" |
30 | 30 | ||
31 | [ ! -f "$OUTPUT_LINK" ] && ln -sf "$OUTPUT" "$OUTPUT_LINK" | 31 | [ -h "$OUTPUT_LINK" -o ! -e "$OUTPUT_LINK" ] && ln -sf "$OUTPUT" "$OUTPUT_LINK" |