mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-14 18:45:11 +08:00
31 lines
664 B
Bash
Executable File
31 lines
664 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case $1 in
|
|
"remove")
|
|
if [ "#$2" == "#in-favour" ]; then
|
|
echo "Conflictor: install $3 version $4 to remove me"
|
|
else
|
|
echo "normal remove"
|
|
fi
|
|
;;
|
|
"upgrade")
|
|
echo "Old: upgrade to version $2"
|
|
;;
|
|
"failed-upgrade")
|
|
echo "failed to upgrade from $3"
|
|
;;
|
|
"deconfigure")
|
|
# $2 == "in-favour"
|
|
echo "Deconfigured: install package:$3 version $4"
|
|
if [ "#$5" == "removing" ]; then
|
|
echo "Deconfigured: removing conflicting package $6 version $7"
|
|
fi
|
|
;;
|
|
*)
|
|
esac
|
|
|
|
# Make sure the script returns 0
|
|
true
|
|
|
|
#DEBHELPER#
|