mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 09:08:51 -05:00
29 lines
453 B
Bash
Executable file
29 lines
453 B
Bash
Executable file
#! /bin/sh
|
|
|
|
. ./packageinfo.sh
|
|
|
|
# HMS: Irix doesn't have 'head'...
|
|
cl1=`head -1 ChangeLog || sed -e 1q ChangeLog`
|
|
|
|
case "$repotype" in
|
|
dev) ;;
|
|
stable) ;;
|
|
*) echo "Unexpected repotype <$repotype>"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
case "$repotype$cl1" in
|
|
dev---)
|
|
echo "Dev repo ChangeLog must not begin with '---'!"
|
|
exit 1
|
|
;;
|
|
dev*)
|
|
;;
|
|
stable---)
|
|
;;
|
|
stable*)
|
|
echo "Stable repo Changelog must begin with '---'!"
|
|
exit 1
|
|
;;
|
|
esac
|