Commit 521b4e5e authored by Vitaly Lipatov's avatar Vitaly Lipatov

remove package from hasher for test preun/postun rpm scripts

parent 7822ddaa
...@@ -103,6 +103,8 @@ $HSH-install $HASHERDIR $UTILPKG $LISTRPMARGS $LISTNAMES || fatal "Error with in ...@@ -103,6 +103,8 @@ $HSH-install $HASHERDIR $UTILPKG $LISTRPMARGS $LISTNAMES || fatal "Error with in
echog "You are in hasher shell" echog "You are in hasher shell"
$HSH-shell $HASHERDIR -Y --shell $HSH-shell $HASHERDIR -Y --shell
if [ -n "$TESTMODE" ] ; then if [ -n "$TESTMODE" ] ; then
echo "Remove package for test preun scripts"
$HSH-run --rooter $HASHERDIR -- rpm -e $(drop_pkg_extensions $LISTNAMES)
echo "Cleanup hasher..." echo "Cleanup hasher..."
$HSH --cleanup-only $HASHERDIR $HSH --cleanup-only $HASHERDIR
fi fi
......
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