pkg-install: chmod 755 deb folder

pull/934/head
Botspot 3 years ago
parent 65c227a437
commit 420277a861

@ -247,6 +247,9 @@ Section: custom
Depends: $(echo "$PKG_LIST" | tr -d ',' | sed 's/ /, /g')
Package: pi-apps-$appnamehash" > ~/pi-apps-$appnamehash/DEBIAN/control
#fix error report "dpkg-deb: error: control directory has bad permissions 700 (must be >=0755 and <=0775)"
sudo chmod -R '0755' ~/pi-apps-$appnamehash
output="$(dpkg-deb --build ~/pi-apps-$appnamehash 2>&1)"
if [ $? != 0 ];then
echo "$output"

Loading…
Cancel
Save