xbps-src: overwrite packages in local repo
This commit is contained in:
parent
7b7d385f8b
commit
4f03807529
6 changed files with 36 additions and 11 deletions
|
@ -19,7 +19,7 @@ genpkg() {
|
|||
done
|
||||
|
||||
# Don't overwrite existing binpkgs by default, skip them.
|
||||
if [ -f $pkgdir/$binpkg -a -z "$XBPS_BUILD_FORCEMODE" ]; then
|
||||
if [ -e $pkgdir/$binpkg ] && [ "$XBPS_PRESERVE_PKGS" ] && [ -z "$XBPS_BUILD_FORCEMODE" ]; then
|
||||
msg_normal "${pkgver}: skipping existing $binpkg pkg...\n"
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue