diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2021-04-01 16:47:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2021-04-01 16:47:02 -0300 |
commit | 2d4dd36bc35e2ad347c1b717ab0a1d70d592c8a7 (patch) | |
tree | 8d5140ef966d6c0df3f29ba28096afc4976bb9b2 /share/trashman/podman | |
parent | 75f7876d7afec9903cda98584e35dc711d1721f0 (diff) | |
download | trashman-2d4dd36bc35e2ad347c1b717ab0a1d70d592c8a7.tar.gz trashman-2d4dd36bc35e2ad347c1b717ab0a1d70d592c8a7.tar.bz2 |
Fix: podman: value testing
Diffstat (limited to 'share/trashman/podman')
-rwxr-xr-x | share/trashman/podman/unix/linux/ubuntu/install | 2 |
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 |