mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-16 20:11:36 +08:00
初步添加统信的wine打包脚本
This commit is contained in:
23
package-script/debian.template/preinst.template
Executable file
23
package-script/debian.template/preinst.template
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
case $1 in
|
||||
"install")
|
||||
if [ ! -z "$2" ]; then
|
||||
echo "try to install from version $2"
|
||||
else
|
||||
echo "normal install"
|
||||
fi
|
||||
;;
|
||||
"upgrade")
|
||||
echo "upgrade from version $2"
|
||||
;;
|
||||
"abort-upgrade")
|
||||
echo "Old: abort upgrade to version $2"
|
||||
;;
|
||||
*)
|
||||
esac
|
||||
|
||||
# Make sure the script returns 0
|
||||
true
|
||||
|
||||
#DEBHELPER#
|
||||
Reference in New Issue
Block a user