aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-04-01 16:47:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-04-01 16:47:02 -0300
commit2d4dd36bc35e2ad347c1b717ab0a1d70d592c8a7 (patch)
tree8d5140ef966d6c0df3f29ba28096afc4976bb9b2
parent75f7876d7afec9903cda98584e35dc711d1721f0 (diff)
downloadtrashman-2d4dd36bc35e2ad347c1b717ab0a1d70d592c8a7.tar.gz
trashman-2d4dd36bc35e2ad347c1b717ab0a1d70d592c8a7.tar.bz2
Fix: podman: value testing
-rwxr-xr-xshare/trashman/podman/unix/linux/ubuntu/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/trashman/podman/unix/linux/ubuntu/install b/share/trashman/podman/unix/linux/ubuntu/install
index 96e9828..bd2a7c2 100755
--- a/share/trashman/podman/unix/linux/ubuntu/install
+++ b/share/trashman/podman/unix/linux/ubuntu/install
@@ -18,7 +18,7 @@ VERSION="7.3"
VERSION="`echo $VERSION_ID | tr -d '.'`"
# Only use packages from Kubic if on Ubuntu 20.04 or below
-if [ "$NAME" = "Ubuntu" ] && (($VERSION <= 2004)); then
+if [ "$NAME" = "Ubuntu" ] && test $VERSION -le 2004; then
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add -
fi