diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-18 23:44:13 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-18 23:45:33 +0200 |
commit | 8a4680cc74c62d348e5c428f3888e0df6b9a0738 (patch) | |
tree | d36f698c7591a4465400008588488b19697a7a87 | |
parent | b874a4c8cd34c46774de06b60bdbc82b514c3e7f (diff) | |
download | abuild-8a4680cc74c62d348e5c428f3888e0df6b9a0738.tar.gz abuild-8a4680cc74c62d348e5c428f3888e0df6b9a0738.tar.bz2 abuild-8a4680cc74c62d348e5c428f3888e0df6b9a0738.tar.xz abuild-8a4680cc74c62d348e5c428f3888e0df6b9a0738.zip |
abuild: don't overwrite existing files when using unzip in unpack
Default is asking for each file.
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -401,7 +401,7 @@ default_unpack() { unxz -c "$s" | tar -C "$srcdir" -x || return 1;; *.zip) msg "Unpacking $s..." - unzip -q "$s" -d "$srcdir" || return 1;; + unzip -n -q "$s" -d "$srcdir" || return 1;; esac done } |