diff options
Diffstat (limited to 'pkgdb')
-rwxr-xr-x | pkgdb | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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() |