2023-03-07 19:00:51 +08:00
committed by uniartisan
parent e8f13693be
commit 30cdeb89b1
4 changed files with 13 additions and 1 deletions

View File

@@ -99,6 +99,14 @@ try_run_ret="$?"
dpkg -i "$DEBPATH" || aptss install -yf
#### --delete
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ];then
rm "$DEBPATH"
echo "${TRANSHELL_CONTENT_DEB_IS_DELETED}"
else
echo "${TRANSHELL_CONTENT_WILL_NOT_DELETE_DEB}"
fi
else