mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-06 22:53:21 +00:00
parent
e047051e5d
commit
5983f34cdd
@ -75,7 +75,7 @@ unpack_apkovl() {
|
||||
fi
|
||||
|
||||
for i in $ALPINE_MNT/*/*/openssl-[0-9]*.apk $ALPINE_MNT/*/openssl-[0-9]*.apk; do
|
||||
[ -f "$i" ] && tar -C / -zxf $i && break
|
||||
[ -f "$i" ] && tar --numeric-owner -C / -zxf $i && break
|
||||
done
|
||||
|
||||
if ! openssl list-cipher-commands | grep "^$suffix$" > /dev/null; then
|
||||
@ -86,8 +86,8 @@ unpack_apkovl() {
|
||||
# beep
|
||||
echo -e "\007"
|
||||
while [ $count -lt 3 ]; do
|
||||
openssl enc -d -$suffix -in "$ovl" | tar -C "$dest" -zx \
|
||||
2>/dev/null && return 0
|
||||
openssl enc -d -$suffix -in "$ovl" | tar --numeric-owner \
|
||||
-C "$dest" -zx 2>/dev/null && return 0
|
||||
count=$(( $count + 1 ))
|
||||
done
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user