summaryrefslogtreecommitdiffstats
path: root/files/slackpkg
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2020-02-26 21:49:44 -0600
committerRobby Workman <rworkman@slackware.com>2020-02-26 21:49:44 -0600
commitdda9a375370e659240fa9f77641c5dbe700253ad (patch)
tree59f241d7756761a14ed562cd3d2cf9f986ca46cf /files/slackpkg
parent4be95fdf527a88b055bb8d5732e57f1f529e7448 (diff)
downloadslackpkg-dda9a375370e659240fa9f77641c5dbe700253ad.tar.xz
Revert "More fixups for alternate ROOT ; thanks to zerouno."
This reverts commit fcc58ff5068146ab016c2f897bc14d4482f4a9cd because it breaks lxc container creation; ponce stated on LQ that "seems that forcing $CONF under $ROOT is what break things here: $CONF in the template is used to have a temporary location, outside of the container, in which to store the template, a blacklist and a mirror configuration for the container creation"
Diffstat (limited to 'files/slackpkg')
-rw-r--r--files/slackpkg6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/slackpkg b/files/slackpkg
index bbc3001..52f8c9b 100644
--- a/files/slackpkg
+++ b/files/slackpkg
@@ -66,8 +66,8 @@ SOURCE=$(sed -n '
\@^cdrom://@p
\@^local://@p
\@^https\{0,1\}://@p
- \@^ftps\{0,1\}://@p' ${ROOT}/$CONF/mirrors)
-. ${ROOT}/$CONF/slackpkg.conf
+ \@^ftps\{0,1\}://@p' $CONF/mirrors)
+. $CONF/slackpkg.conf
ERROR=""
# Set temporary directory
@@ -466,7 +466,7 @@ case "$CMD" in
# all blacklisted packages
if [ "$INPUTLIST" = "" ]; then
echo -e "Packages in blacklist:\n"
- grep -e "^\([a-z]\)" ${ROOT}/$CONF/blacklist | $MORECMD
+ grep -e "^\([a-z]\)" $CONF/blacklist | $MORECMD
cleanup
fi