author | mickeyl <mickeyl> | 2004-05-08 00:07:07 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-05-08 00:07:07 (UTC) |
commit | 5f54fd794f93f19b96516a87bbccb34e28d3198c (patch) (side-by-side diff) | |
tree | 2be6f68461c36b059efeeb9b2139afcec1938b75 | |
parent | de674154922b40fd2c01e008c7a7871520a86209 (diff) | |
download | opie-5f54fd794f93f19b96516a87bbccb34e28d3198c.zip opie-5f54fd794f93f19b96516a87bbccb34e28d3198c.tar.gz opie-5f54fd794f93f19b96516a87bbccb34e28d3198c.tar.bz2 |
use =, not == to check for equality in shell
use rm -rf on directories, not just -f
-rwxr-xr-x | library/opie-common.prerm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/opie-common.prerm b/library/opie-common.prerm index 1a1b4cd..40ee749 100755 --- a/library/opie-common.prerm +++ b/library/opie-common.prerm @@ -1,5 +1,5 @@ #!/bin/sh -[ "$1" == "upgrade" ] && exit 1 +[ "$1" = "upgrade" ] && exit 1 -rm -f /home/QtPalmtop +rm -rf /home/QtPalmtop |