23 lines
605 B
Plaintext
23 lines
605 B
Plaintext
$NetBSD: patch-aa,v 1.1.1.1 2009/01/08 00:21:00 jmcneill Exp $
|
|
|
|
--- data/packagekit-background.cron.orig 2008-10-06 06:49:49.000000000 -0400
|
|
+++ data/packagekit-background.cron
|
|
@@ -12,7 +12,7 @@
|
|
[ -f /etc/sysconfig/packagekit-background ] && . /etc/sysconfig/packagekit-background
|
|
|
|
# are we disabled?
|
|
-if [ "$ENABLED" == "no" ]; then
|
|
+if [ "$ENABLED" = "no" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
@@ -25,7 +25,7 @@ PKTMP=$(mktemp /var/run/packagekit-cron.
|
|
sleep $RANDOM
|
|
|
|
# do action
|
|
-if [ "$CHECK_ONLY" == "yes" ]; then
|
|
+if [ "$CHECK_ONLY" = "yes" ]; then
|
|
pkcon get-updates > $PKTMP
|
|
else
|
|
pkcon update > $PKTMP
|