Skip to content

Commit c2ea9db

Browse files
committed
fix: add --root-owner-group flag to dpkg-deb command
1 parent 009fa23 commit c2ea9db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

justfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ deb:
102102
echo "Maintainer: Equationzhao <equationzhao at foxmail.com>" >> build/g_{{latest}}_amd64/DEBIAN/control
103103
echo "Description: a powerful ls tool" >> build/g_{{latest}}_amd64/DEBIAN/control
104104

105-
dpkg-deb -b build/g_{{latest}}_amd64
105+
dpkg-deb -b --root-owner-group build/g_{{latest}}_amd64
106106
rm -rf build/g_{{latest}}_amd64
107107

108108

@@ -119,7 +119,7 @@ deb:
119119
echo "Maintainer: Equationzhao <equationzhao at foxmail.com>" >> build/g_{{latest}}_arm64/DEBIAN/control
120120
echo "Description: a powerful ls tool" >> build/g_{{latest}}_arm64/DEBIAN/control
121121

122-
dpkg-deb -b build/g_{{latest}}_arm64
122+
dpkg-deb -b --root-owner-group build/g_{{latest}}_arm64
123123
rm -rf build/g_{{latest}}_arm64
124124

125125

@@ -136,7 +136,7 @@ deb:
136136
echo "Maintainer: Equationzhao <equationzhao at foxmail.com>" >> build/g_{{latest}}_386/DEBIAN/control
137137
echo "Description: a powerful ls tool" >> build/g_{{latest}}_386/DEBIAN/control
138138

139-
dpkg-deb -b build/g_{{latest}}_386
139+
dpkg-deb -b --root-owner-group build/g_{{latest}}_386
140140
rm -rf build/g_{{latest}}_386
141141

142142
# arm
@@ -152,7 +152,7 @@ deb:
152152
echo "Maintainer: Equationzhao <equationzhao at foxmail.com>" >> build/g_{{latest}}_arm/DEBIAN/control
153153
echo "Description: a powerful ls tool" >> build/g_{{latest}}_arm/DEBIAN/control
154154

155-
dpkg-deb -b build/g_{{latest}}_arm
155+
dpkg-deb -b --root-owner-group build/g_{{latest}}_arm
156156
rm -rf build/g_{{latest}}_arm
157157

158158
# loong64
@@ -168,7 +168,7 @@ deb:
168168
echo "Maintainer: Equationzhao <equationzhao at foxmail.com>" >> build/g_{{latest}}_loong64/DEBIAN/control
169169
echo "Description: a powerful ls tool" >> build/g_{{latest}}_loong64/DEBIAN/control
170170

171-
dpkg-deb -b build/g_{{latest}}_loong64
171+
dpkg-deb -b --root-owner-group build/g_{{latest}}_loong64
172172
rm -rf build/g_{{latest}}_loong64
173173

174174
# generate the checksum file for all build files

0 commit comments

Comments
 (0)