Debloc: Support multi-arch

Incredibly easy since this wasn't poorly designed :)
crash2
Geoffrey Frogeye 2016-11-20 14:32:31 +01:00
parent 3eed219b61
commit 7543597b6b
1 changed files with 3 additions and 2 deletions

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