From 6c30bffc3b9057a21d3c3e5d6174442f1bc10bfa Mon Sep 17 00:00:00 2001 From: Steve Youngs Date: Wed, 20 Jan 2021 15:37:13 +1000 Subject: [PATCH] Add a shortcut to a local Slackware repo. Just a convenient way to get to Slackware patches. * etc/pkgusr/bash_profile (SLACKPKG): New. It points to a local Slackware source repo. Signed-off-by: Steve Youngs --- etc/pkgusr/bash_profile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/etc/pkgusr/bash_profile b/etc/pkgusr/bash_profile index f1997e8..cc5895b 100644 --- a/etc/pkgusr/bash_profile +++ b/etc/pkgusr/bash_profile @@ -54,9 +54,21 @@ SUPPRESSLOCALEDIR=1 # Override this in ~/.pkgusrrc. CHECKUPDATES=1 +## Slackware PKG local repo +# Having a shortcut to a local Slackware PKG repo is very useful. +# Pat Volkerding and his team are of a minority who actually know +# what they are doing. I always check Slackware for patches. +# +# I get the Slack source via rsync. +# See https://mirrors.slackware.com/mirrorlist/ +# +# Use: find ${SLACKPKG} -iname pkgname\* +SLACKPKG=/home/steve/download/Slackware/slackware64-current/source +# Obviously edit to suit your situation + ### export everything export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR -export SUPPRESSLOCALEDIR CHECKUPDATES +export SUPPRESSLOCALEDIR CHECKUPDATES SLACKPKG # Make prompt reflect that we are a package user. export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "' -- 2.34.1