Skip to content

Commit 1e59329

Browse files
author
Eugene Kovalenko
authored
Fix elastio-snap upgrade on Debian/Ubuntu (#72)
`apt::install-recommends=true` doesn't help to upgrade driver. It works just on clean install. So, installing and upgrading both `elastio` and `elastio-snap-utils` explicitly.
1 parent 29f1394 commit 1e59329

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/install-elastio.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ deb_ubu_install()
111111
# installing linux-headers package for the current kernel.
112112
[ ! -z "$driver" ] && apt-get install -y linux-headers-$(uname -r)
113113
if [ ! -z "$driver" ] && [ ! -z "$cli" ]; then
114-
# Install elastio and driver as dependency
115-
apt-get -o apt::install-recommends=true install -y elastio
114+
# Install elastio and driver
115+
apt-get -o apt::install-recommends=true install -y elastio elastio-snap-utils
116116
elif [ ! -z "$driver" ]; then
117117
# Install just driver
118118
apt-get -o apt::install-recommends=true install -y elastio-snap-utils

0 commit comments

Comments
 (0)