diff options
-rw-r--r-- | extra/gestpkg-1.2/pre-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/gestpkg-1.2/pre-install b/extra/gestpkg-1.2/pre-install index 343eab591..e0fc0092e 100644 --- a/extra/gestpkg-1.2/pre-install +++ b/extra/gestpkg-1.2/pre-install @@ -1,3 +1,3 @@ -if ( pkginfo -l gestpkg > /dev/null); then - pkgrm gestpkg +if ( pkginfo -i | grep ^"gestpkg " > /dev/null ) ; then + pkgrm gestpkg fi |