Skip to content

Commit

Permalink
Update chown tweaks patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklul committed Jan 31, 2025
1 parent 04779ba commit 40ff0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/core-002-chown-tweaks.patch
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ index 522d92f..bb8f35b 100755
--- a/gravity.sh
+++ b/gravity.sh
@@ -59,11 +59,14 @@ gravityTEMPfile="${GRAVITYDB}_temp"
gravityDIR="$(dirname -- "${gravityDBfile}")"
gravityOLDfile="${gravityDIR}/gravity_old.db"
gravityBCKdir="${gravityDIR}/gravity_backups"
gravityBCKfile="${gravityBCKdir}/gravity.db"

+# In Entware user pihole might not exist
+[ -f /opt/etc/opkg.conf ] && [ -z "$(id -u pihole 2> /dev/null)" ] && NO_PIHOLE_USER=y
Expand Down

0 comments on commit 40ff0ba

Please sign in to comment.