xbps-src: remove pre/post and install status file when removing a pkg.
This commit is contained in:
parent
9171a0fef0
commit
15bc8e1eee
1 changed files with 5 additions and 1 deletions
|
@ -208,6 +208,10 @@ remove_pkg()
|
||||||
if [ -d "$XBPS_DESTDIR/${pkgname}-${ver%_*}" ]; then
|
if [ -d "$XBPS_DESTDIR/${pkgname}-${ver%_*}" ]; then
|
||||||
rm -rf "$XBPS_DESTDIR/${pkgname}-${ver%_*}"
|
rm -rf "$XBPS_DESTDIR/${pkgname}-${ver%_*}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -f $XBPS_PRE_INSTALL_DONE
|
||||||
|
rm -f $XBPS_POST_INSTALL_DONE
|
||||||
|
rm -f $XBPS_INSTALL_DONE
|
||||||
|
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue