forked from DGNum/infrastructure
fix(cache): Fix weird message when using cache
command
This commit is contained in:
parent
9f2165abc8
commit
9826a7d8a3
|
@ -1,7 +1,7 @@
|
||||||
ENDPOINT=${ATTIC_ENDPOINT:-https://cachix.dgnum.eu}
|
ENDPOINT=${ATTIC_ENDPOINT:-https://cachix.dgnum.eu}
|
||||||
|
|
||||||
if [ "$1" == "off" ]; then
|
if [ "$1" == "off" ]; then
|
||||||
echo "Please edit $XDG_CONFIG_DIRS/nix/nix.conf to remove the cache"
|
echo "Please edit $XDG_CONFIG_HOME/nix/nix.conf to remove the cache"
|
||||||
elif [ "$1" == "on" ]; then
|
elif [ "$1" == "on" ]; then
|
||||||
@attic@/bin/attic login dgnum "$ENDPOINT"
|
@attic@/bin/attic login dgnum "$ENDPOINT"
|
||||||
@attic@/bin/attic use dgnum:infra
|
@attic@/bin/attic use dgnum:infra
|
||||||
|
|
Loading…
Reference in a new issue