summaryrefslogtreecommitdiff
path: root/backend/libsisyphus.sh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-06-18 05:56:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-06-18 05:56:54 +0100
commit584bc214efadceda963d5a35e099b313ffe3be43 (patch)
tree3f874e67368493211aeaa5c7a680c46189680458 /backend/libsisyphus.sh
parente21e8518815cc5fd54de9a905f2e1821ce04102c (diff)
fix typo, give some useful output
Diffstat (limited to 'backend/libsisyphus.sh')
-rwxr-xr-xbackend/libsisyphus.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/libsisyphus.sh b/backend/libsisyphus.sh
index 1b0074e..530f9bf 100755
--- a/backend/libsisyphus.sh
+++ b/backend/libsisyphus.sh
@@ -118,7 +118,7 @@ remotedbcsvsync () {
echo ">>> Syncing 'SisyphusDB remote_packages' into '/var/lib/sisyphus/db/sisyphus.db'"
echo "/usr/bin/sqlite3 /var/lib/sisyphus/db/sisyphus.db"
echo "Already up-to-date."
- echo "=== Sync completed for 'SisyphusDB remote_packages"
+ echo "=== Sync completed for 'SisyphusDB remote_packages'"
fi
mv /var/lib/sisyphus/csv/remote_postinst.csv /var/lib/sisyphus/csv/remote_preinst.csv
}
@@ -155,9 +155,9 @@ localdbcsvpost () {
localdbcsvsync () {
if cmp /var/lib/sisyphus/csv/local_preinst.csv /var/lib/sisyphus/csv/local_postinst.csv > /dev/null 2>&1 ; then
- einfo "PortageDB && SisyphusDB local_packages in sync, nothing to do..."
+ einfo "'PortageDB' && 'SisyphusDB local_packages' are in sync, nothing to do..."
else
- einfo "PortageDB && SisyphusDB local_packages out of sync, syncing..."
+ einfo "'PortageDB' && 'SisyphusDB local_packages' are out of sync, syncing now..."
echo "/usr/bin/sqlite3 /var/lib/sisyphus/db/sisyphus.db"
pushd /var/lib/sisyphus/db > /dev/null 2>&1
sqlite3 -echo sisyphus.db<<-EXIT_HERE
@@ -167,7 +167,7 @@ localdbcsvsync () {
.import /var/lib/sisyphus/csv/local_postinst.csv local_packages
EXIT_HERE
popd > /dev/null 2>&1
- einfo "Sync completed for SisyphusDB local_packages"
+ einfo "'PortageDB' && 'SisyphusDB local_packages' resync complete..."
fi
mv /var/lib/sisyphus/csv/local_postinst.csv /var/lib/sisyphus/csv/local_preinst.csv
}