Changes of Revision 13
[-] [+] | Added | get_release_number.sh |
@@ -0,0 +1,12 @@ +#! /bin/sh +prefix= +suffix= +if [ "$3" = kernel-dummy -o -n "$suffix" ]; then + [ -n "$suffix" ] || suffix=$2 + while [ "$suffix" != "${suffix#[^0-9]*.}" ]; do + suffix=${suffix#[^0-9]*.} + done + echo $prefix$suffix +else + echo "pkg:kernel-dummy" +fi |