Compare commits
2 commits
76360d09fa
...
5e0ffd9260
Author | SHA1 | Date | |
---|---|---|---|
Geoffrey Frogeye | 5e0ffd9260 | ||
Geoffrey Frogeye | b5b3a20c25 |
1
scripts/.gitignore
vendored
Normal file
1
scripts/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
sct
|
|
@ -19,11 +19,11 @@ fi
|
||||||
# Overrides
|
# Overrides
|
||||||
|
|
||||||
[ -z $DEBLOC_PREFIX ] && DEBLOC_PREFIX=$(dpkg --print-architecture)
|
[ -z $DEBLOC_PREFIX ] && DEBLOC_PREFIX=$(dpkg --print-architecture)
|
||||||
[ -z $DEBLOC_DB ] && DEBLOC_DB=${XDG_CONFIG_HOME:-$HOME/.config}/$DEBLOC_PREFIX
|
[ -z $DEBLOC_DB ] && DEBLOC_DB=${XDG_CONFIG_HOME:-$HOME/.config}/debloc/$DEBLOC_PREFIX
|
||||||
[ -z $DEBLOC_ROOT ] && DEBLOC_ROOT=$HOME/.debloc/$DEBLOC_PREFIX
|
[ -z $DEBLOC_ROOT ] && DEBLOC_ROOT=$HOME/.debloc/$DEBLOC_PREFIX
|
||||||
DEBLOC_LD=$DEBLOC_ROOT/ld
|
DEBLOC_LD=$DEBLOC_ROOT/ld
|
||||||
|
|
||||||
if [ -z $DEBIAN_MIRROR ]; then
|
if [ -z "$DEBIAN_MIRROR" ]; then
|
||||||
DEBIAN_MIRROR="$(cat /etc/apt/sources.list | grep '^deb ' | grep main | grep -v backports)"
|
DEBIAN_MIRROR="$(cat /etc/apt/sources.list | grep '^deb ' | grep main | grep -v backports)"
|
||||||
DEBIAN_MIRROR="$(echo -e "$DEBIAN_MIRROR" | cut -d ' ' -f 2 | sed 's/\/$//' | sort | uniq)"
|
DEBIAN_MIRROR="$(echo -e "$DEBIAN_MIRROR" | cut -d ' ' -f 2 | sed 's/\/$//' | sort | uniq)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue