small fix

This commit is contained in:
pvincent
2026-08-07 23:34:52 +04:00
parent b572f65522
commit 2f26a493b2
+1 -1
View File
@@ -42,7 +42,7 @@ function link_etc {
echo "link $source/$link_name updated"
fi
else
if [[ -f "$destination/i$link_name" ]]; then
if [[ -f "$destination/$link_name" ]]; then
mv "$destination/$link_name" "$destination/$link_name.$BACKUP"
echo "$destination/$link_name.$BACKUP saved!"
fi