mirror of
https://gitee.com/spark-store-project/uos-packaging-tools
synced 2025-07-13 09:22:21 +08:00
fakeroot
This commit is contained in:
parent
18160bb8f8
commit
0ec1757da6
src
@ -1,5 +1,5 @@
|
|||||||
Package: uos-packaging-tools
|
Package: uos-packaging-tools
|
||||||
Version: 1.0.8
|
Version: 1.0.8.1
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Maintainer: shenmo<shenmo@spark-app.store>
|
Maintainer: shenmo<shenmo@spark-app.store>
|
||||||
Installed-Size: 10
|
Installed-Size: 10
|
||||||
|
@ -17,7 +17,7 @@ do
|
|||||||
mkdir DEBIAN
|
mkdir DEBIAN
|
||||||
tar -xvf control.tar* -C ./DEBIAN
|
tar -xvf control.tar* -C ./DEBIAN
|
||||||
rm data.tar* control.tar*
|
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."
|
echo "Repack finished for $(dpkg-deb -f $DEBPATH Package). Remove tmp dir."
|
||||||
rm -rf "$TMPDIR/unpack-dir"
|
rm -rf "$TMPDIR/unpack-dir"
|
||||||
notify-send $(dpkg-deb -f "$DEBPATH" Package)重打包已完成 -i /usr/share/icons/uos-packaging-tools.png
|
notify-send $(dpkg-deb -f "$DEBPATH" Package)重打包已完成 -i /usr/share/icons/uos-packaging-tools.png
|
||||||
|
@ -12,6 +12,6 @@ else
|
|||||||
opt=`pwd`
|
opt=`pwd`
|
||||||
fi
|
fi
|
||||||
notify-send `basename $opt`开始打包 -i /usr/share/icons/uos-packaging-tools.png
|
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
|
notify-send `basename $opt`打包完成 -i /usr/share/icons/uos-packaging-tools.png
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user