diff --git a/lib/sde-package/update.in b/lib/sde-package/update.in index fbed1ca..612efb8 100644 --- a/lib/sde-package/update.in +++ b/lib/sde-package/update.in @@ -63,7 +63,7 @@ package_update_md5() { curl "$md5" | while read md5sum file; do pkg=$( echo "$file" | sed -e 's,-[0-9].*,,' | tr [A-Z] [a-z] ) if [ -z "$pkg" ]; then - echo_arror "Failed to detect package name for '$file'." + echo_error "Failed to detect package name for '$file'." continue fi case "$pkg" in @@ -71,10 +71,14 @@ package_update_md5() { pkg=lib${pkg} ;; gtk-xfce-engine) pkg=${pkg}2 ;; - kde-i18n/*) - pkg=${pkg#*/} ;; + libxml2) + pkg=${pkg%2} ;; terminal) pkg=xfce4-terminal ;; + mono/gtk-sharp) + pkg=gtk-sharp2 ;; + kde-i18n/*|c++/*|java/*|python/*) + pkg=${pkg#*/} esac confdir=$( ls -1d $SDEROOT/package/*/$pkg 2> /dev/null || true )