summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/opengnsys_installer.sh')
-rwxr-xr-xinstaller/opengnsys_installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index f396457e..ce04e758 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -104,7 +104,7 @@ local DHCPVERSION
case "$OSDISTRIB" in
Ubuntu) # Postconfiguación personalizada para Ubuntu.
# Configuración para DHCP v3.
- DHCPVERSION=$(apt-cache show dhcp.?-server$ | \
+ DHCPVERSION=$(apt-cache --full search dhcp.?-server$ | \
awk '/Version/ {print substr($2,1,1);}' | \
sort -n | tail -1)
if [ $DHCPVERSION = 3 ]; then