mirror of
https://gitee.com/spark-store-project/uos-packaging-tools
synced 2025-06-09 00:36:00 +08:00
fakeroot
This commit is contained in:
parent
18160bb8f8
commit
0ec1757da6
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user