summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-11-27 14:19:15 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-11-27 14:19:15 +0000
commit37bf747b3ab497584aae9b8500ea2c106a850416 (patch)
treef8f108f775265e1ba961a0f8f21c689ebd8794bd
parentmessage is not defined, so use echo (diff)
downloademacs-tools-37bf747b3ab497584aae9b8500ea2c106a850416.tar.gz
emacs-tools-37bf747b3ab497584aae9b8500ea2c106a850416.tar.bz2
emacs-tools-37bf747b3ab497584aae9b8500ea2c106a850416.zip
Output about packages not being recognized correctly --> bug report
No useless emerge call if no packages to update Output optimised svn path=/emacs-extra/eselect-emacs/; revision=797
-rwxr-xr-xemacs-updater.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/emacs-updater.sh b/emacs-updater.sh
index 804a3e1..abeb3c5 100755
--- a/emacs-updater.sh
+++ b/emacs-updater.sh
@@ -20,10 +20,17 @@ fi
for sf in "${ROOT}/${SITELISP}"/[0-9][0-9]*-gentoo.el
do
- echo "Processing ${sf}"
+ echo "Processing ..."
qfile -qC "${sf}" >> "${TMPFILE}"
done
+
+if [[ $(cat ${TMPFILE}) == "" ]]; then
+ echo
+ echo "No packages to update, quitting."
+ exit 2
+fi
+
echo
echo "Packages with site files in the wrong location:"
cat "${TMPFILE}"
@@ -42,3 +49,6 @@ case "${choice}" in
esac
emerge -av $(cat "${TMPFILE}")
+
+echo
+echo "If a package is being rebuilt over and over again, please report it on http://bugs.gentoo.org/"