diff --git a/src/usr/bin/amber-pm-convert b/src/usr/bin/amber-pm-convert index aeb311c..f0f8e8d 100755 --- a/src/usr/bin/amber-pm-convert +++ b/src/usr/bin/amber-pm-convert @@ -319,8 +319,8 @@ for BASENAME in "${BASENAMES[@]}"; do log.info " 写入: $BASENAME" done -# 创建postinst脚本 -cat > "$PKG_BUILD_DIR/DEBIAN/postinst" << 'EOF' +# 创建postrm脚本 +cat > "$PKG_BUILD_DIR/DEBIAN/postrm" << 'EOF' #!/bin/bash PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"