[12/13] gerbera: Fix installing config file
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
config/rootfiles/packages/gerbera | 3 ++-
lfs/gerbera | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
Comments
Hello Stefan,
> + cd $(DIR_APP) && mkdir -pv /etc/gerbera
The "cd $(DIR_APP) &&" has no effect for this command and can be left out.
This also should be part of the patch that introduces the installation of the
config file.
-Michael
@@ -1,4 +1,5 @@
-etc/gerbera
+#etc/gerbera
+etc/gerbera/config.xml
etc/rc.d/init.d/gerbera
usr/bin/gerbera
#usr/share/bash-completion/completions/gerbera
@@ -106,7 +106,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP)/build && make install
+
# Install configuration.
+ cd $(DIR_APP) && mkdir -pv /etc/gerbera
install -m 644 $(DIR_SRC)/config/gerbera/config.xml /etc/gerbera
# Create gerbera home dir.