Debloc: Support multi-arch

Incredibly easy since this wasn't poorly designed :)
This commit is contained in:
Geoffrey Frogeye 2016-11-20 14:32:31 +01:00
parent 3eed219b61
commit 7543597b6b

View file

@ -1,7 +1,8 @@
#!/usr/bin/env bash
DEBLOC_DB=$HOME/.config/debloc
DEBLOC_ROOT=$HOME/.debloc
ARCH=$(dpkg --print-architecture)
DEBLOC_DB=$HOME/.config/debloc/$ARCH
DEBLOC_ROOT=$HOME/.debloc/$ARCH
# TODO Configurable
DEBIAN_MIRROR=http://debian.polytech-lille.fr/debian