From f730fe0a876965ec656232ef838d7077bf00d89a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Apr 2018 01:08:53 +0100 Subject: hook timestamps, run even faster --- src/helpers/make_local_csv | 8 ++++++++ src/helpers/make_local_csv_post | 8 -------- src/helpers/make_local_csv_pre | 8 -------- 3 files changed, 8 insertions(+), 16 deletions(-) create mode 100755 src/helpers/make_local_csv delete mode 100755 src/helpers/make_local_csv_post delete mode 100755 src/helpers/make_local_csv_pre (limited to 'src/helpers') diff --git a/src/helpers/make_local_csv b/src/helpers/make_local_csv new file mode 100755 index 0000000..91e00bb --- /dev/null +++ b/src/helpers/make_local_csv @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +makecsv() { + qlist -ICScv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" >> /tmp/localPackagesPre.csv + mv /tmp/localPackagesPre.csv /var/lib/sisyphus/csv/ +} + +makecsv diff --git a/src/helpers/make_local_csv_post b/src/helpers/make_local_csv_post deleted file mode 100755 index 438ef64..0000000 --- a/src/helpers/make_local_csv_post +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -makecsv() { - qlist -ICScv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" >> /tmp/localPackagesPost.csv - mv /tmp/localPackagesPost.csv /var/lib/sisyphus/csv/ -} - -makecsv diff --git a/src/helpers/make_local_csv_pre b/src/helpers/make_local_csv_pre deleted file mode 100755 index 91e00bb..0000000 --- a/src/helpers/make_local_csv_pre +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -makecsv() { - qlist -ICScv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" >> /tmp/localPackagesPre.csv - mv /tmp/localPackagesPre.csv /var/lib/sisyphus/csv/ -} - -makecsv -- cgit v1.2.3