summaryrefslogtreecommitdiffstats
path: root/files/core-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* Revert "More fixups for alternate ROOT ; thanks to zerouno."Robby Workman2020-02-261-4/+4
| | | | | | | | | 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"
* More fixups for alternate ROOT ; thanks to zerouno.Robby Workman2020-02-191-4/+4
|
* Remove subshell usage and save a trivial amount of timeRobby Workman2019-01-161-1/+2
|
* Catch errors and return exit status 1 if they occurRobby Workman2019-01-161-1/+3
| | | | Thanks to mcandre on LQ for the suggestion.
* Fixup blacklist checking and appending when using alt $ROOTRobby Workman2019-01-141-2/+2
| | | | Thanks to dive for the report.
* Fix support for package sets (try #2)Dave Woodfall2018-12-301-3/+6
| | | | | | | | | This adds ./$PKGMAIN/ to a blacklisted set line, which ought to say turn kde/ into ./slackware64/kde as it listed in the temp pkglist. I've tightened up the patches/pasture/extra etc. lines too. Signed-off-by: Robby Workman <rworkman@slackware.com>
* Fix support for blacklisting entire package setsDave Woodfall2018-12-301-2/+10
| | | | | | | | | | Blacklisted sets now need a trailing / (eg. kde/) Anything with a trailing slash is excluded from having \s added to it. Then the slash is removed so the set is picked up by the old functionality. Signed-off-by: Robby Workman <rworkman@slackware.com>
* Fix (hopefully) blacklisting of specific packagesDave Woodfall2018-11-221-2/+5
| | | | | | | | | | | | | | In short, it seems impossible to blacklist some packages without catching other undesirable packages. As an example, blacklisting glibc will also catch glibc-zoneinfo (and the other glibc-*) packages. It would be good to have the ability to blacklist only the glibc package without it catching the others. With this change, if sysadmin wants the blacklist to be "greedy," then adding "glibc.*" to the blacklist will do that. Reported-by: Peter Hyman <pete@peterhyman.com> Signed-off-by: Robby Workman <rworkman@slackware.com>
* Minor grammatical fixupRobby Workman2018-11-201-1/+1
| | | | Thanks to Gerard Lally on LQ.
* Mention possible stale mirror if CHECKSUMS.md5 gpg verify failsslackpkg-2.83.0-noarch-4.txzRobby Workman2018-09-051-1/+4
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* Fix for /var/log/packages/ possibly being a symlink to elsewhereRobby Workman2018-06-071-6/+6
|
* Use CHECKSUMS.md5.asc to determine ChangeLog newnessPatrick J. Volkerding2018-06-071-0/+27
| | | | | | Thanks to drgibbon on LQ for the suggestion. Signed-off-by: Robby Workman <rworkman@slackware.com>
* Make sure user knows that the warning about -current only shows onceRobby Workman2018-01-061-0/+5
|
* core-functions.sh: Warn (first time) if -current mirror is selectedDidier Spaier2018-01-061-7/+25
| | | | Require confirmation the first time a -current mirror is selected.
* Add $ROOT to $WORKDIR, $TEMP, and $TMPDIR instancesRobby Workman2018-01-021-30/+30
| | | | | | | | This *should* have no effect if $ROOT is blank Files modified: files/core-functions.sh files/slackpkg
* core-functions.sh: Fix Slackware ARM gpg keyRobby Workman2018-01-021-1/+1
|
* core-functions.sh: Create $WORKDIR before using itRobby Workman2017-12-301-0/+3
| | | | | | This should never be an issue on a properly installed system (assuming slackpkg is installed on the system), but it doesn't hurt anything either to be safe.
* *: Initial commit of slackpkg (as of 2.82.2 release)2.82.2Robby Workman2017-10-221-0/+1351