diff options
author | jlam <jlam> | 2001-09-27 06:36:47 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-09-27 06:36:47 +0000 |
commit | be17b09476651356e3622fc2ce3b41066a469b06 (patch) | |
tree | dbca360d57195d2aa31f68f3cd635a66672db6dc /audio/realplayer | |
parent | 20069532871e97794a0328a78f4136b22cfa3c76 (diff) | |
download | pkgsrc-be17b09476651356e3622fc2ce3b41066a469b06.tar.gz |
Don't try to chmod the installer if it's already executable. This is
needed in case the package builder doesn't own the distfile.
Diffstat (limited to 'audio/realplayer')
-rw-r--r-- | audio/realplayer/scripts/pre-extract | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/realplayer/scripts/pre-extract b/audio/realplayer/scripts/pre-extract index 82adef21797..9096487f4ba 100644 --- a/audio/realplayer/scripts/pre-extract +++ b/audio/realplayer/scripts/pre-extract @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: pre-extract,v 1.1.1.1 2000/12/25 09:35:59 jlam Exp $ +# $NetBSD: pre-extract,v 1.2 2001/09/27 06:36:47 jlam Exp $ # The number of seconds to pause before continuing with the extraction # process. @@ -35,4 +35,7 @@ EOF sleep ${delay} -${CHMOD} +x ${RP_INSTALLER} +if [ ! -x ${RP_INSTALLER} ] +then + ${CHMOD} +x ${RP_INSTALLER} +fi |