]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
debian/bin/init-reprepro.sh: Respect foreign architectures.
authorSimon Ruderich <simon@ruderich.org>
Sat, 21 Sep 2013 15:01:01 +0000 (17:01 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 21 Sep 2013 15:01:01 +0000 (17:01 +0200)
debian/bin/init-reprepro.sh

index ff14f5b215e59e73238c4fceffb7aca10411b358..bd309586ca015f4eb92f5843ff2e40d8fb927774 100755 (executable)
@@ -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" <<EOF
 Codename: $codename
 Components: main