This commit is contained in:
Stephan Raabe 2023-08-13 11:38:11 +02:00
parent 856bb4fe6f
commit 32a61df179

View File

@ -160,11 +160,13 @@ _installSymLink() {
else
if [ -d ${symlink} ]; then
echo "Directory ${symlink}/ exists."
rm -r ${symlink}
rm -r ${symlink}/
ln -s ${linksource} ${linktarget}
else
if [ -f ${symlink} ]; then
echo "File ${symlink} exists."
rm ${symlink}
ln -s ${linksource} ${linktarget}
else
ln -s ${linksource} ${linktarget}
echo "Link ${linksource} -> ${linktarget} created."