diff options
Diffstat (limited to '')
-rwxr-xr-x | taskcluster/docker/recipes/clean_packages.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/taskcluster/docker/recipes/clean_packages.sh b/taskcluster/docker/recipes/clean_packages.sh new file mode 100755 index 0000000000..4265ae5593 --- /dev/null +++ b/taskcluster/docker/recipes/clean_packages.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +for task in "$@"; do + echo "removing package source /etc/apt/sources.list.d/99$task.list" + rm -f "/etc/apt/sources.list.d/99$task.list" +done +apt-get update |