mv is more flexible than ln

This commit is contained in:
Martin Potier 2016-03-19 22:57:36 +01:00
parent d4d3289216
commit 1f176dd805

View file

@ -68,5 +68,5 @@ esac
#echo $DEGUB
# Step 4: eventually act upon gathered knowledge ###############################
ln $PATH1 $PATH2 # Hard link to new location (fast!)
ln -sf $PATH2 $PATH1 # Soft link back to old location
mv $PATH1 $PATH2 # Works across filesystems (fast enough!)
ln -s $PATH2 $PATH1 # Soft link back to old location