summaryrefslogtreecommitdiff
path: root/pkgtools/packagekit/patches/patch-aa
blob: 80a3779329c1826379f9e2eb4e21eee141d806af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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