geuphoria.sh: fixed symlinks
This commit is contained in:
parent
de4d6c8ee7
commit
2a5544eef1
28
geuphoria.sh
28
geuphoria.sh
@ -117,7 +117,19 @@ uninstall_pkg(){
|
||||
printf "${name}-${version} is not installed\n"
|
||||
|
||||
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
|
||||
|
||||
else
|
||||
@ -125,7 +137,19 @@ uninstall_pkg(){
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user