CI: fix rm command

Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
Luca Di Maio
2022-08-31 07:49:33 +02:00
parent 888d456189
commit 627f8d2caf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -209,4 +209,4 @@ jobs:
run: |
image=${{ matrix.distribution }}
container_name="$(basename "${image}" | sed -E 's/[:.]/-/g')"
./distrobox rm --force --name "${container_name}"
./distrobox rm --force "${container_name}"
+1 -1
View File
@@ -244,7 +244,7 @@ if [ "${icon}" = "auto" ]; then
tr -d '"')"
rm -f /tmp/"${container_name}".os-release
icon_url="$(echo "$DISTRO_ICON_MAP" | grep "${container_distro}:" | cut -d':' -f2-)"
icon_url="$(echo "${DISTRO_ICON_MAP}" | grep "${container_distro}:" | cut -d':' -f2-)"
if [ -n "${icon_url}" ]; then
icon_extension="${icon_url##*.}"