[DO NOT UPDATE] Update unlink() method
This commit is contained in:
parent
e32da5ab07
commit
d2cd0e348f
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
# utility function
|
# utility function
|
||||||
function unlink() {
|
function unlink() {
|
||||||
if [ -a "${HOME}/${1}" ]; then
|
if [ -a "${HOME}/${*}" ]; then
|
||||||
echo ":: Unlinking ${1}"
|
echo ":: Unlinking ${1}"
|
||||||
rm -rf "${HOME:?}/${1:?}"
|
rm -rf "${HOME:?}/${*:?}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue