diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-02-02 21:52:19 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-02 18:55:40 -0600 |
commit | 69bc5ea5e28086c8eea6808be2be3c84b555863b (patch) | |
tree | 023093f0c43cf93955dbf93504ac5b172eccd945 /scripts/makepkg.sh.in | |
parent | 96ee1bca2473ea32d647db0464653424e34b1e91 (diff) | |
download | pacman-69bc5ea5e28086c8eea6808be2be3c84b555863b.tar.xz |
add 'force' to PKGINFO, have repo-add respect it.
Ref: http://www.archlinux.org/pipermail/pacman-dev/2008-January/011023.html
Also see FS#9347 and FS#9349.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r-- | scripts/makepkg.sh.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 0997386e..68ad5978 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -810,6 +810,9 @@ create_package() { if [ "$CARCH" != "" ]; then echo "arch = $CARCH" >>.PKGINFO fi + if [ "$(check_option force)" = "y" ]; then + echo "force = true" >> .PKGINFO + fi local it for it in "${license[@]}"; do |