From: Enrico Scholz Date: Sat, 8 May 2004 01:31:26 +0000 (+0000) Subject: call 'vapt-get -- clean' after building the vserver X-Git-Tag: VERSION_0_10~36 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0393c63f81cc299c0301bfef6b6eaedae875c217;p=util-vserver.git call 'vapt-get -- clean' after building the vserver git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1549 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver-build.apt-rpm b/util-vserver/scripts/vserver-build.apt-rpm index 6f54552..e01ab6b 100644 --- a/util-vserver/scripts/vserver-build.apt-rpm +++ b/util-vserver/scripts/vserver-build.apt-rpm @@ -52,7 +52,8 @@ setup_writeInitialFstab test -z "$BUILD_INITPRE" || "$BUILD_INITPRE" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS" rpm.importGPGPubKeys "$VSERVER_NAME" "$CONFDIR/.distributions/$DISTRIBUTION/pubkeys" "$DISTRIBDIR/$DISTRIBUTION/pubkeys" rpm.initDB "$VSERVER_NAME" -"$_VAPT_GET" "$SETUP_CONFDIR" -- update +$_VAPT_GET "$SETUP_CONFDIR" -- update apt.installBasePackages "$SETUP_CONFDIR" "$PKGDIR" -"$_VAPT_GET" "$SETUP_CONFDIR" -- dist-upgrade -y +$_VAPT_GET "$SETUP_CONFDIR" -- dist-upgrade -y +$_VAPT_GET "$SETUP_CONFDIR" -- clean test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"