Updates
This commit is contained in:
parent
856bb4fe6f
commit
32a61df179
@ -160,11 +160,13 @@ _installSymLink() {
|
|||||||
else
|
else
|
||||||
if [ -d ${symlink} ]; then
|
if [ -d ${symlink} ]; then
|
||||||
echo "Directory ${symlink}/ exists."
|
echo "Directory ${symlink}/ exists."
|
||||||
rm -r ${symlink}
|
rm -r ${symlink}/
|
||||||
|
ln -s ${linksource} ${linktarget}
|
||||||
else
|
else
|
||||||
if [ -f ${symlink} ]; then
|
if [ -f ${symlink} ]; then
|
||||||
echo "File ${symlink} exists."
|
echo "File ${symlink} exists."
|
||||||
rm ${symlink}
|
rm ${symlink}
|
||||||
|
ln -s ${linksource} ${linktarget}
|
||||||
else
|
else
|
||||||
ln -s ${linksource} ${linktarget}
|
ln -s ${linksource} ${linktarget}
|
||||||
echo "Link ${linksource} -> ${linktarget} created."
|
echo "Link ${linksource} -> ${linktarget} created."
|
||||||
|
Loading…
Reference in New Issue
Block a user