mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
domoticz: fix chown call
Busybox's chown stops reading the username at the dot, so only user was
changed and the group remained as root. Properly use ':' instead of '.'
as the delimeter.
Fixes: a98239c "domoticz: update to 3.9571 and clean up FHS handling"
Signed-off-by: Eugenio Pérez <eupm90@gmail.com>
[add PKG_RELEASE bump, modify commit message, add Fixes line]
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
committed by
Hannu Nyman
parent
9df8a2b58c
commit
c32daaa2a4
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=domoticz
|
||||
PKG_VERSION:=2025.2
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/domoticz/domoticz/tar.gz/$(PKG_VERSION)?
|
||||
|
||||
@@ -51,7 +51,7 @@ start_domoticz() {
|
||||
for DIR in data generated_scripts; do
|
||||
[ -d /var/lib/domoticz/dzVents/$DIR ] || {
|
||||
mkdir -p /var/lib/domoticz/dzVents/$DIR
|
||||
chown domoticz.domoticz /var/lib/domoticz/dzVents/$DIR
|
||||
chown domoticz:domoticz /var/lib/domoticz/dzVents/$DIR
|
||||
}
|
||||
done
|
||||
procd_append_param command -userdata "$userdata"
|
||||
|
||||
Reference in New Issue
Block a user