build: make postinst/prerm scripts executable
[openwrt/staging/mkresin.git] / tools / ipkg-utils / patches / 210-remove_field_checks.patch
1 --- a/ipkg-build
2 +++ b/ipkg-build
3 @@ -101,9 +101,6 @@ You probably want to chown these to a sy
4 arch=`required_field Architecture`
5 [ "$?" -ne 0 ] && PKG_ERROR=1
6
7 - required_field Maintainer >/dev/null
8 - [ "$?" -ne 0 ] && PKG_ERROR=1
9 -
10 required_field Description >/dev/null
11 [ "$?" -ne 0 ] && PKG_ERROR=1
12
13 @@ -114,23 +111,6 @@ You probably want to chown these to a sy
14 echo "admin, base, comm, editors, extras, games, graphics, kernel, libs, misc, net, text, web, x11" >&2
15 fi
16
17 - priority=`required_field Priority`
18 - [ "$?" -ne 0 ] && PKG_ERROR=1
19 - if [ -z "$priority" ]; then
20 - echo "The Priority field should have one of the following values:" >&2
21 - echo "required, important, standard, optional, extra." >&2
22 - echo "If you don't know which priority value you should be using, then use \`optional'" >&2
23 - fi
24 -
25 - source=`required_field Source`
26 - [ "$?" -ne 0 ] && PKG_ERROR=1
27 - if [ -z "$source" ]; then
28 - echo "The Source field contain the URL's or filenames of the source code and any patches"
29 - echo "used to build this package. Either gnu-style tarballs or Debian source packages "
30 - echo "are acceptable. Relative filenames may be used if they are distributed in the same"
31 - echo "directory as the .ipk file."
32 - fi
33 -
34 disallowed_filename=`disallowed_field Filename`
35 [ "$?" -ne 0 ] && PKG_ERROR=1
36