2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-19 04:40:21 +00:00

Fix sourceforge bug #4621. This removed line was added by the fix of sourceforge bug #4511. But there is no good reason to change the perioids (.) in Debian/Ubuntu package names to colons (:). Since perioids (.) is a valid character in package name of Debian/Ubuntu. Due to Debian Policy Manual Section 3.1, Section 5.6.7 and Section 5.6.1.

This commit is contained in:
GONG Jie
2015-05-13 14:46:40 +08:00
parent 959e7f8d18
commit a31c077789

View File

@ -747,7 +747,6 @@ EOF`
fi
elif [ $hasapt -eq 1 ]; then
#use apt
fn=`echo $fn| tr "." ":"`
apt_get_update_if_repos_changed $REPOFILE
result=`apt-cache show $fn 2>&1`