Skip to content

Commit 0d32e2e

Browse files
committed
podman-tui: fix path to bin file in the archive
1 parent d4c1aa9 commit 0d32e2e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

apps/podman-tui@x86_64

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ app_install() {
1717

1818
app_remove
1919

20-
cd "$SDD_TEMP_DIR/$package/$APP_NAME-${version#v}" || exit 1
20+
if [ -d "$SDD_TEMP_DIR/$package/$APP_NAME-${version#v}" ]; then
21+
cd "$SDD_TEMP_DIR/$package/$APP_NAME-${version#v}"
22+
elif [ -d "$SDD_TEMP_DIR/$package/$APP_NAME" ]; then
23+
cd "$SDD_TEMP_DIR/$package/$APP_NAME"
24+
else
25+
exit 1
26+
fi
27+
2128

2229
install -vD -m755 "$APP_NAME" "$SDD_BIN_DIR/$APP_NAME" >&2
2330
}

0 commit comments

Comments
 (0)