Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into f/abstract-build-de…
Browse files Browse the repository at this point in the history
…p-installation
  • Loading branch information
morphis committed May 22, 2017
2 parents e55eb41 + 3ae1d99 commit 7bdc164
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/lib/pkgdb.sh
Expand Up @@ -121,6 +121,18 @@ distro_clean_package_cache() {
esac
}

distro_auto_remove_packages() {
case "$SPREAD_SYSTEM" in
ubuntu-*|debian-*)
quiet apt-get -y autoremove
;;
*)
echo "ERROR: Unsupported distribution '$SPREAD_SYSTEM'"
exit 1
;;
esac
}

# Specify necessary packages which need to be installed on a
# system to provide a basic build environment for snapd.
DISTRO_BUILD_DEPS=""
Expand Down

0 comments on commit 7bdc164

Please sign in to comment.