From d1cebc3893d4c4648e0ce78221127fe54ba6892f Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 15 Feb 2017 19:41:34 +0200 Subject: [PATCH] - changed apt-daily alias to use apt-get instead of apt because the apt version that comes with Jessie on my PocketCHIP doesn't support autoclean with apt. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index a4cae8d..4389688 100644 --- a/.bashrc +++ b/.bashrc @@ -69,7 +69,7 @@ alias deconcat="perl -pe 's/\\\n/\n/g'" alias ggo='sudo GOPATH=/usr/share/go go' alias ecr-login='eval $(aws ecr get-login)' alias hostlocal='docker run --rm --privileged --net=host gliderlabs/hostlocal' -alias apt-daily="sudo /bin/sh -c 'apt update && apt dist-upgrade --download-only --yes && apt autoclean'" +alias apt-daily="sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade --download-only --yes && apt-get autoclean'" alias docker-build='docker build -t "$(basename $PWD)" ./' alias cdtemp='cd $(mktemp -d)' alias 0-day-cleanup='ssh xbmc "sudo -u debian-transmission find /srv/library/Comics -name *.part -path *0-Day\ Week\ of* -delete"' -- GitLab