X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=debian%2Fbin%2Finit-reprepro.sh;h=4014dc4b3a708b2efc6f3c1a8771ed6e622b7b2c;hb=0e1f3846c77e6b0ca5d9215b07f6e587cedd19d9;hp=ff14f5b215e59e73238c4fceffb7aca10411b358;hpb=ce7cef2bd8e7dcb1e9fee5f9bff5432a81d5894e;p=config%2Fdotfiles.git diff --git a/debian/bin/init-reprepro.sh b/debian/bin/init-reprepro.sh index ff14f5b..4014dc4 100755 --- a/debian/bin/init-reprepro.sh +++ b/debian/bin/init-reprepro.sh @@ -16,8 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -set -e +set -eu sources=/etc/apt/sources.list repo=/root/apt @@ -63,7 +63,7 @@ if test ! -d "$repo"; then mkdir -p "$repo/conf" mkdir -p "$repo/morgue" - arch=`dpkg --print-architecture` + arch="`dpkg --print-architecture` `dpkg --print-foreign-architectures`" cat >"$repo/conf/distributions" <