summaryrefslogtreecommitdiffstats
path: root/pkgdb
diff options
context:
space:
mode:
Diffstat (limited to 'pkgdb')
-rwxr-xr-xpkgdb5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgdb b/pkgdb
index 5d05a65..d2cf510 100755
--- a/pkgdb
+++ b/pkgdb
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: pkgdb,v 1.13 2004/05/06 01:39:42 judd Exp $
+# $Id: pkgdb,v 1.14 2004/05/06 02:27:40 judd Exp $
tl=`pwd`
@@ -25,6 +25,9 @@ deletepkg()
mysql -u $dbuser -p$dbpass $dbname <<_EOF
DELETE FROM packages WHERE id='$id';
_EOF
+ mysql -u $dbuser -p$dbpass $dbname <<_EOF
+DELETE FROM todolist_pkgs WHERE pkgid='$id';
+_EOF
}
updatepkg()