diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -72,8 +72,9 @@ alias dinstall="curl https://ftp-master.debian.org/dinstall.status;echo -n 'Righ # use with care, in order for this to actually provide a security advantage alias update-debian-known-hosts="scp master.debian.org:/etc/ssh/ssh_known_hosts ~/src/dotfiles/.ssh/known_hosts_debian" alias grepcopy="grep --color=always -Eir '(copyright|©)' * | less -R" -alias test-package-plan="cabal --no-require-sandbox update \ - && schroot -c haskell -d $HOME -- /bin/sh -c \ +alias test-package-plan="test -z $(find $HOME/.cabal/packages/hackage.haskell.org/01-index.tar -newermt '4 hours ago') \ + && cabal --no-require-sandbox update; \ + schroot -c haskell -d $HOME -- /bin/sh -c \ \"cd src/package-plan && perl test-packages.pl\"" # from dgit-user(7), this pushes a non-native package through sbuild # without an orig.tar for the version in the first changelog entry. |