From 7807654f455ed2c2dda7337405d76ba305055f7d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 6 May 2018 20:25:38 +0100 Subject: sed needs expanding with revisions --- src/helpers/make_local_csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helpers/make_local_csv') diff --git a/src/helpers/make_local_csv b/src/helpers/make_local_csv index fadc41e..50e704b 100755 --- a/src/helpers/make_local_csv +++ b/src/helpers/make_local_csv @@ -1,7 +1,7 @@ #!/usr/bin/env bash makecsv() { - qlist -ICSv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" >> /tmp/localPackagesPre.csv + qlist -ICSv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" -re "s/-([0-9])/,\1/" >> /tmp/localPackagesPre.csv mv /tmp/localPackagesPre.csv /var/lib/sisyphus/csv/ } -- cgit v1.2.3