Commit 5c592224 authored by Holger Levsen's avatar Holger Levsen
Browse files

also deploy configuration in /var

parent db9f344b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ if ! test -h /chroots; then
fi

#
# deploy package configuration in /etc and /usr
# deploy package configuration in /etc, /usr and /var
#
cd $BASEDIR
for h in common common-amd64 common-i386 common-arm64 common-armhf "$HOSTNAME" ; do
@@ -284,7 +284,7 @@ for h in common common-amd64 common-i386 common-arm64 common-armhf "$HOSTNAME" ;
			/usr/sbin/visudo -c -f "$f" > /dev/null
		done
	fi
	for d in etc usr ; do
	for d in etc usr var; do
		if [ -d "hosts/$h/$d" ]; then
			sudo cp --preserve=mode,timestamps -r "hosts/$h/$d/"* "/$d"
		fi