[24408] in Source-Commits
/svn/athena r24003 - trunk/debathena/debathena/command-not-found/debian
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sat Sep 12 14:23:53 2009
Date: Sat, 12 Sep 2009 14:23:31 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <200909121823.n8CINVOs023740@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2009-09-12 14:23:31 -0400 (Sat, 12 Sep 2009)
New Revision: 24003
Modified:
trunk/debathena/debathena/command-not-found/debian/10-command-not-found
trunk/debathena/debathena/command-not-found/debian/changelog
trunk/debathena/debathena/command-not-found/debian/control.in
trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.cron.daily
trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.dirs
trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.install
Log:
In command-not-found:
* Move /usr/bin/whichlocker to
/usr/bin/debathena-command-not-found/whichlocker.
* Update package description.
* Run curl in silent mode from cronjob.
Patch by Jessica Hamrick <jhamrick@mit.edu>.
Modified: trunk/debathena/debathena/command-not-found/debian/10-command-not-found
===================================================================
--- trunk/debathena/debathena/command-not-found/debian/10-command-not-found 2009-09-11 20:17:28 UTC (rev 24002)
+++ trunk/debathena/debathena/command-not-found/debian/10-command-not-found 2009-09-12 18:23:31 UTC (rev 24003)
@@ -3,8 +3,8 @@
function command_not_found_handle {
INLOCKER=""
- if [ -x /usr/lib/whichlocker ]; then
- INLOCKER=`/usr/lib/whichlocker "$1"`
+ if [ -x /usr/lib/debathena-command-not-found/whichlocker ]; then
+ INLOCKER=`/usr/lib/debathena-command-not-found/whichlocker "$1"`
if [ ! -z "$INLOCKER" ]; then
echo "Found in the following Athena lockers: "
echo "$INLOCKER"
Modified: trunk/debathena/debathena/command-not-found/debian/changelog
===================================================================
--- trunk/debathena/debathena/command-not-found/debian/changelog 2009-09-11 20:17:28 UTC (rev 24002)
+++ trunk/debathena/debathena/command-not-found/debian/changelog 2009-09-12 18:23:31 UTC (rev 24003)
@@ -1,3 +1,12 @@
+debathena-command-not-found (1.1) unstable; urgency=low
+
+ * Move /usr/bin/whichlocker to
+ /usr/bin/debathena-command-not-found/whichlocker.
+ * Update package description.
+ * Run curl in silent mode from cronjob.
+
+ -- Jessica Hamrick <jhamrick@mit.edu> Sat, 12 Sep 2009 13:47:45 -0400
+
debathena-command-not-found (1.0) unstable; urgency=low
* Initial release.
Modified: trunk/debathena/debathena/command-not-found/debian/control.in
===================================================================
--- trunk/debathena/debathena/command-not-found/debian/control.in 2009-09-11 20:17:28 UTC (rev 24002)
+++ trunk/debathena/debathena/command-not-found/debian/control.in 2009-09-12 18:23:31 UTC (rev 24003)
@@ -8,7 +8,9 @@
Package: debathena-command-not-found
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, python, debathena-bash-config, debathena-ssl-certificates, curl
-Description: Overrides command-not-found to use whichlocker
- The functionality of whichlocker is added to the
- command-not-found handle, such that it will print
- the locker the command is found in (if applicable).
+Description: Displays the AFS locker an unknown command is in
+ This package updates the bash command-not-found
+ handle to print the AFS locker a command can
+ be found in (if applicable). This is in
+ addition to checking if the command is available
+ through the package database.
Modified: trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.cron.daily
===================================================================
--- trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.cron.daily 2009-09-11 20:17:28 UTC (rev 24002)
+++ trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.cron.daily 2009-09-12 18:23:31 UTC (rev 24003)
@@ -1,3 +1,3 @@
#!/bin/sh
-[ -x /usr/lib/whichlocker ] && /usr/bin/curl --connect-timeout 5 https://debathena.mit.edu/auto/whichlocker-database -o /usr/share/debathena-command-not-found/program-list
+[ -x /usr/lib/whichlocker ] && /usr/bin/curl -s --connect-timeout 5 https://debathena.mit.edu/auto/whichlocker-database -o /usr/share/debathena-command-not-found/program-list
Modified: trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.dirs
===================================================================
--- trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.dirs 2009-09-11 20:17:28 UTC (rev 24002)
+++ trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.dirs 2009-09-12 18:23:31 UTC (rev 24003)
@@ -1,3 +1,3 @@
usr/share/debathena-command-not-found/
usr/share/debathena-bash-config/bashrc.d/
-usr/lib/
+usr/lib/debathena-command-not-found/
Modified: trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.install
===================================================================
--- trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.install 2009-09-11 20:17:28 UTC (rev 24002)
+++ trunk/debathena/debathena/command-not-found/debian/debathena-command-not-found.install 2009-09-12 18:23:31 UTC (rev 24003)
@@ -1,2 +1,2 @@
debian/10-command-not-found /usr/share/debathena-bash-config/bashrc.d/
-debian/whichlocker /usr/lib/
+debian/whichlocker /usr/lib/debathena-command-not-found/