Skip to content
Snippets Groups Projects
Commit 59bfefad authored by alice's avatar alice
Browse files

community/iotop: fix type in pre-upgrade for /

parent e165eacd
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=iotop pkgname=iotop
pkgver=0.6 pkgver=0.6
pkgrel=8 pkgrel=9
# source tarballs are gone now using git repo - commit's first 7 chars # source tarballs are gone now using git repo - commit's first 7 chars
_commit=59e2537 _commit=59e2537
pkgdesc="I/O monitoring tool" pkgdesc="I/O monitoring tool"
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
ver_old=$2 ver_old=$2
if [ "$(apk version -t "$ver_old" '0.6-r8')" = '<' ]; then if [ "$(apk version -t "$ver_old" '0.6-r9')" = '<' ]; then
# .egg-info was changed from a file to a directory, so we have to remove it # .egg-info was changed from a file to a directory, so we have to remove it
# see https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10856 # see https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10856
rm -f usr/lib/python3.10/site-packages/iotop-0.6-py3.10.egg-info >/dev/null 2>&1 rm -f /usr/lib/python3.10/site-packages/iotop-0.6-py3.10.egg-info >/dev/null 2>&1
fi fi
exit 0 exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment