mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2026-03-26 07:29:45 +08:00
初步添加统信的wine打包脚本
This commit is contained in:
29
package-script/debian.template/postinst.template
Executable file
29
package-script/debian.template/postinst.template
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
|
||||
case $1 in
|
||||
"configure")
|
||||
echo "most recently configured version $2"
|
||||
;;
|
||||
"abort-upgrade")
|
||||
echo "Old: abort upgrade to $2"
|
||||
;;
|
||||
"abort-remove")
|
||||
if [ "#$2" == "#in-favour" ]; then
|
||||
echo "Conflictor: try to install package $3 version $4"
|
||||
else
|
||||
echo "abort-remove"
|
||||
fi
|
||||
;;
|
||||
"abort-deconfigure")
|
||||
# $2 == "in-favour"
|
||||
echo "Conflictor: failed 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#
|
||||
Reference in New Issue
Block a user