Commit bfd9dd07 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproduce.debian.net: also deploy config to /opt

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

#
# deploy package configuration in /etc, /usr and /var
# deploy package configuration in /etc, /usr, /var and /opt
#
cd $BASEDIR
for h in common common-amd64 common-i386 common-arm64 common-armhf "$HOSTNAME" ; do
@@ -286,7 +286,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 var; do
	for d in etc usr var opt; do
		if [ -d "hosts/$h/$d" ]; then
			sudo cp --preserve=mode,timestamps -r "hosts/$h/$d/"* "/$d"
		fi