Skip to content

Commit 6b90dc7

Browse files
committed
Add ZYPP_CURL2 env var for refresh
1 parent 6463a47 commit 6b90dc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zypperoni

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ from shlex import quote
2929
import xml.etree.ElementTree as ET
3030

3131
# Constants
32-
ZYPPERONI_VERSION = "1.0.1"
32+
ZYPPERONI_VERSION = "1.0.2"
3333
ZYPPER_PID_FILE = "/run/zypp.pid"
3434

3535
################################
@@ -396,7 +396,7 @@ mount -o bind,ro /var/lib/ca-certificates {ZYPPERONI_TMP_DIR}/{{uuid}}/rootfs/va
396396

397397
# Shell commands to perform zypper refresh / force-refresh
398398
refresh_shell_commands = f"""
399-
chroot {ZYPPERONI_TMP_DIR}/{{uuid}}/rootfs env -i zypper --non-interactive {{refresh_type}} {{repo_alias}};
399+
chroot {ZYPPERONI_TMP_DIR}/{{uuid}}/rootfs env -i ZYPP_CURL2=1 zypper --non-interactive {{refresh_type}} {{repo_alias}};
400400
"""
401401

402402
# Shell commands to prepare temp mounts for zypper download

0 commit comments

Comments
 (0)