summaryrefslogtreecommitdiffstats
path: root/files/post-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* post-functions: indents and line endings.Dave Woodfall2021-04-211-264/+269
| | | | | | Indent with spaces. Fix indent levels. Remove trailing whitespace and unnecessary '\' on line endings.
* Fix break error messages.Dave Woodfall2021-04-051-4/+0
|
* new-config dialogDave Woodfall2021-02-231-40/+78
| | | | | | One extra prompt at end to stop file list flying off top of screen. Calculate lines in K/O/R/P prompt before printing it, and use it to work out screen MAXROWS etc.
* Fix new-config dialogDave Woodfall2021-02-201-24/+41
|
* Adjust number of .new lines shown based on terminal sizeDave Woodfall2018-11-201-3/+7
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* Add support for listing .new files without PAGERDave Woodfall2018-11-181-7/+33
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* Add config option to allow *not* saving .orig configsDarren Austin2018-09-191-6/+7
| | | | | | | | | | | | | | When admins choose to allow slackpkg new-config to overwrite currently installed config files with the .new counterparts from an upgraded package, slackpkg has traditionally created backups of the config files first, with the backups being written out with .orig extensions. This commit does not change the default behavior, but it does allow it to be turned off. TLDR: set "ORIG_BACKUPS" to "off" in /etc/slackpkg/slackpkg.conf if you do not wish to have .orig files left over Signed-off-by: Robby Workman <rworkman@slackware.com>
* Clarify that a press of "Enter" is needed to confirm kernel changeMario Preksavec2018-06-201-1/+1
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* post-functions.sh: Tweak handling of new kernel promptsRobby Workman2018-04-041-5/+4
|
* post-functions.sh: Fix stray stuff in vimdiff promptRobby Workman2018-04-031-1/+1
|
* post-functions.sh: Sort .new files list from looknew()Robby Workman2018-04-031-1/+1
| | | | Thanks to Eduard Rozenberg.
* post-functions.sh: Make sure user confirms kernel updateRobby Workman2018-04-031-6/+6
|
* post-functions.sh: Respect $ROOT in looknew()Robby Workman2018-04-031-1/+1
| | | | Thanks again to burdi01 on LQ.
* post-functions.sh: Don't offer to run lilo if initrd is in lilo.confRobby Workman2018-01-071-1/+8
|
* post-functions.sh: Invert test for "not no" to "is yes"Robby Workman2018-01-061-1/+1
| | | | Essentially, don't process a "not yes" as an "is yes"
* post-functions.sh: check for /etc/lilo.conf too for lilo offerRobby Workman2018-01-061-4/+4
| | | | | | | | Existence of /etc/lilo.conf coupled with executable /sbin/lilo probably indicates lilo usage on the system, so that seems like a reasonable compromise for everyone fussing about slackpkg's offer to run /sbin/lilo for them after kernel upgrades even though they use grub or whatever else.
* post-functions.sh: Fix vimdiff patchDavid Allen2017-11-081-1/+1
| | | | | | | | ** This was my mistake; my mail client munged the patch, so I had to apply it all by hand. The extra (old) line of 'showmenu' options was what I'd copied to compare the new options, and I forgot to delete it when committing. Mea culpa. --rworkman
* Allow using vimdiff to compare .new and original filesDavid Allen2017-10-221-1/+16
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* *: Initial commit of slackpkg (as of 2.82.2 release)2.82.2Robby Workman2017-10-221-0/+221