diff options
author | Judd Vinet <judd@archlinux.org> | 2003-08-17 02:58:05 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-08-17 02:58:05 +0200 |
commit | 6cac5b93a08fce0f30308bcf96f85ebd08df68fd (patch) | |
tree | b4b19f14ee3b5c7a7ce66710fddb131887e3f507 | |
parent | cd3590946ac66b7adcfa95f51f00f917327bf20a (diff) | |
download | dbscripts-6cac5b93a08fce0f30308bcf96f85ebd08df68fd.tar.gz dbscripts-6cac5b93a08fce0f30308bcf96f85ebd08df68fd.tar.xz |
reset needupdate
-rwxr-xr-x | pkgdb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ #!/bin/bash -# $Id: pkgdb,v 1.8 2003/08/16 23:56:46 judd Exp $ +# $Id: pkgdb,v 1.9 2003/08/17 00:58:05 judd Exp $ tl=`pwd` @@ -32,7 +32,7 @@ updatepkg() mysql -u $dbuser -p$dbpass $dbname <<_EOF UPDATE packages SET categoryid='$categoryid',pkgname='$pkgname',pkgver='$pkgver', pkgrel='$pkgrel',pkgdesc='$pkgdesc',url='$url',sources='$sources', -depends='$deplist',lastupdate=NOW() WHERE id='$id'; +depends='$deplist',needupdate=0,lastupdate=NOW() WHERE id='$id'; _EOF } |