geuphoria.sh: fixed symlinks
This commit is contained in:
parent
de4d6c8ee7
commit
2a5544eef1
30
geuphoria.sh
30
geuphoria.sh
@ -117,15 +117,39 @@ uninstall_pkg(){
|
|||||||
printf "${name}-${version} is not installed\n"
|
printf "${name}-${version} is not installed\n"
|
||||||
|
|
||||||
if [[ $symlinks ]];then
|
if [[ $symlinks ]];then
|
||||||
rm $symlinks
|
rm /usr/bin/eui
|
||||||
fi
|
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
|
else
|
||||||
|
|
||||||
rm -v -r ${target_dir}/${name}-${version}-Linux-${arch}
|
rm -v -r ${target_dir}/${name}-${version}-Linux-${arch}
|
||||||
|
|
||||||
if [[ $symlinks ]];then
|
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
|
fi
|
||||||
|
|
||||||
if [ ! -d ${target_dir}/${name}-${version}-Linux-${arch} ];then
|
if [ ! -d ${target_dir}/${name}-${version}-Linux-${arch} ];then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user