summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-06 20:25:38 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-06 20:25:38 +0100
commit7807654f455ed2c2dda7337405d76ba305055f7d (patch)
treec9fc8359360bb59d19517ffe28a56fd29479405b
parent30fb816f2482fd06a60b557de5bf7cf6e8212d2a (diff)
sed needs expanding with revisions
-rwxr-xr-xsrc/helpers/make_local_csv2
1 files changed, 1 insertions, 1 deletions
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/
}