This commit is contained in:
shenmo 2023-08-10 16:22:59 +08:00
parent 18160bb8f8
commit 0ec1757da6
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
Package: uos-packaging-tools
Version: 1.0.8
Version: 1.0.8.1
Architecture: all
Maintainer: shenmo<shenmo@spark-app.store>
Installed-Size: 10

View File

@ -17,7 +17,7 @@ do
mkdir DEBIAN
tar -xvf control.tar* -C ./DEBIAN
rm data.tar* control.tar*
dpkg-deb -Z xz -b "$TMPDIR/unpack-dir/" "$OUTPATH"
fakeroot dpkg-deb -Z xz -b "$TMPDIR/unpack-dir/" "$OUTPATH"
echo "Repack finished for $(dpkg-deb -f $DEBPATH Package). Remove tmp dir."
rm -rf "$TMPDIR/unpack-dir"
notify-send $(dpkg-deb -f "$DEBPATH" Package)重打包已完成 -i /usr/share/icons/uos-packaging-tools.png

View File

@ -12,6 +12,6 @@ else
opt=`pwd`
fi
notify-send `basename $opt`开始打包 -i /usr/share/icons/uos-packaging-tools.png
dpkg-deb -Z xz -b $opt $opt/..
fakeroot dpkg-deb -Z xz -b $opt $opt/..
notify-send `basename $opt`打包完成 -i /usr/share/icons/uos-packaging-tools.png
exit