From: Enrico Scholz Date: Mon, 2 Jan 2006 18:02:28 +0000 (+0000) Subject: s!/etc/slackware-release!/etc/slackware-version! (reported by bubulak) X-Git-Tag: version_0_30_210~47 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b39edfee423f5f3cbe8fa223dcfdc9e8d66e286;p=util-vserver.git s!/etc/slackware-release!/etc/slackware-version! (reported by bubulak) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2234 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver-build.functions b/util-vserver/scripts/vserver-build.functions index 4d78cdd..535117d 100644 --- a/util-vserver/scripts/vserver-build.functions +++ b/util-vserver/scripts/vserver-build.functions @@ -134,8 +134,8 @@ function getDistribution elif test -e /etc/gentoo-release; then set -- $(cat /etc/gentoo-release) DISTRIBUTION=gentoo$5 - elif test -e /etc/slackware-release; then - set -- $(cat /etc/slackware-release) + elif test -e /etc/slackware-version; then + set -- $(cat /etc/slackware-version) DISTRIBUTION=slackware$2 elif test -n "$1"; then DISTRIBUTION=$1