aboutsummaryrefslogtreecommitdiff
path: root/patches/gzip
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gzip')
-rwxr-xr-xpatches/gzip/gzip.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/gzip/gzip.SlackBuild b/patches/gzip/gzip.SlackBuild
index 95cad835..cea51136 100755
--- a/patches/gzip/gzip.SlackBuild
+++ b/patches/gzip/gzip.SlackBuild
@@ -27,14 +27,12 @@
CWD="`pwd`"
-if [ -f "/etc/slackbuildrc" ]; then
+if [ -f ~/.slackbuildrc ]; then
+ source ~/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
source /etc/slackbuildrc
fi
-if [ -f "/root/.slackbuildrc" ]; then
- source /root/.slackbuildrc
-fi
-
PACKAGE="gzip"
PKGNAM="$PACKAGE"
VERSION=${VERSION:=1.3.5}