Fix some stuff about perming

gf-arm64
FriendlyNeighborhoodShane 4 years ago
parent c68bbe56e6
commit 4c676e862d

@ -475,10 +475,11 @@ if [ "$action" = "installation" ]; then
ui_print "Setting permissions...";
if [ "$magisk" = "yes" ]; then
find "$root" -maxdepth 1 -exec chmod 0755 {} +;
find "$root" -maxdepth 1 -name "post-fs-data.sh" -o -name "service.sh" -exec chmod 0777 {} +;
fi;
for thing in $stuff_perm; do
for thing in $stuff_perm $initdfile $addondfile; do
case "$thing" in
*/bin*|*/xbin*)
*/bin*|*/xbin*|*/etc/init.d*)
perm 0 2000 0755 0777 "$root/$thing";
;;
*)

Loading…
Cancel
Save