#!/bin/bash
if [ -z "$1" ]; then
  echo "用法：$0 插件文件夹名"
  exit 1
fi
dpkg-deb -Z gzip -b "$1" "$1.deb"
echo "$1.deb 打包完成！"
