diff options
Diffstat (limited to 'gphoto2')
-rwxr-xr-x | gphoto2/gphoto2.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gphoto2/gphoto2.SlackBuild b/gphoto2/gphoto2.SlackBuild index 9446fd3a..fb87e4fd 100755 --- a/gphoto2/gphoto2.SlackBuild +++ b/gphoto2/gphoto2.SlackBuild @@ -18,14 +18,12 @@ fi 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 - # default settings PACKAGE="gphoto2" ARCH=${ARCH:=i486} |