Commit e7054e8a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions: get_package_type(): return extension by default

parent 31d41b20
......@@ -628,9 +628,8 @@ get_package_type()
return
;;
*)
#fatal "Don't know type of $1"
# return package name for info
echo "$1"
# print extension by default
echo "$1" | sed -e 's|.*\.||'
return 1
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment