aboutsummaryrefslogtreecommitdiff
path: root/link.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-22 20:43:44 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-22 20:43:44 -0500
commit27155dfe68b67d230bc9e3562d5248ec38703233 (patch)
treeb330e8757f6210208a99fb1fa62a01c52e762d29 /link.sh
parent76196f760716990ee239a2455ce62b07425e0540 (diff)
downloadrivercfg-27155dfe68b67d230bc9e3562d5248ec38703233.tar.gz
rivercfg-27155dfe68b67d230bc9e3562d5248ec38703233.tar.xz
add a script for building and installing on Fedora 39
Diffstat (limited to 'link.sh')
-rwxr-xr-xlink.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/link.sh b/link.sh
index 41a7b5c..e3c987f 100755
--- a/link.sh
+++ b/link.sh
@@ -2,7 +2,7 @@
set -e
timestamp="$(date +%m.%d.%Y)"
-if ! [ -L "$HOME/.waylandrc" ] ; then
+if [ -e "$HOME/.waylandrc" ] && ! [ -L "$HOME/.waylandrc" ] ; then
mv "$HOME"/.waylandrc "$HOME"/.waylandrc-"$timestamp"
fi