Commit f9556375 authored by BrLi's avatar BrLi

.bashrc: edit rmpkg function to include remove of signature

parent a8a6b43e
......@@ -199,7 +199,7 @@ rmpkg(){
pkg=${i%/*}
if [[ -n "$(find "/chakra/_repo/$CHROOT/" -name "${pkg}-*.pkg.tar.xz*" -print -quit)" ]]
then
rm "/chakra/_repo/$CHROOT/"${pkg}-*.pkg.tar.xz
rm -v "/chakra/_repo/$CHROOT/"${pkg}-*.pkg.tar.xz{,.sig}
repo-remove "/chakra/_repo/$CHROOT/local-$CHROOT.db.tar" $pkg >/dev/null
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment