From 2a5544eef15a679ca9ea8e76f1f4beed0a76b88b Mon Sep 17 00:00:00 2001 From: mollusk Date: Tue, 3 Oct 2017 22:03:04 -0700 Subject: [PATCH] geuphoria.sh: fixed symlinks --- geuphoria.sh | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/geuphoria.sh b/geuphoria.sh index aa723c4..0e9a478 100755 --- a/geuphoria.sh +++ b/geuphoria.sh @@ -117,15 +117,39 @@ uninstall_pkg(){ printf "${name}-${version} is not installed\n" if [[ $symlinks ]];then - rm $symlinks - fi + rm /usr/bin/eui + rm /usr/bin/euc + rm /usr/bin/eutest + rm /usr/bin/eudist + rm /usr/bin/eudoc + rm /usr/bin/eushroud + rm /usr/bin/euloc + rm /usr/bin/eudis + rm /usr/bin/eubind + rm /usr/bin/eub + rm /usr/bin/echoversion + rm /usr/bin/creole + rm /usr/bin/eucoverage + fi else rm -v -r ${target_dir}/${name}-${version}-Linux-${arch} if [[ $symlinks ]];then - rm $symlinks + rm /usr/bin/eui + rm /usr/bin/euc + rm /usr/bin/eutest + rm /usr/bin/eudist + rm /usr/bin/eudoc + rm /usr/bin/eushroud + rm /usr/bin/euloc + rm /usr/bin/eudis + rm /usr/bin/eubind + rm /usr/bin/eub + rm /usr/bin/echoversion + rm /usr/bin/creole + rm /usr/bin/eucoverage fi if [ ! -d ${target_dir}/${name}-${version}-Linux-${arch} ];then