slack-autoupdate

Update your Slackware system automatically
Log | Files | Refs | README

commit b0fcea1b18c41ae7dbc7f6ca9d0dace5b35f305c
parent 00256939eadfe0988289c5a997c29393fbecad42
Author: Slack Coder <slackcoder@server.ky>
Date:   Thu,  4 Apr 2024 17:41:51 -0500

update-current: Fix version substitution

Diffstat:
Msrc/recipes/use-current-kernel.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/recipes/use-current-kernel.sh b/src/recipes/use-current-kernel.sh @@ -34,7 +34,7 @@ SOURCE=$(sed -n ' \@^local://@p \@^https\{0,1\}://@p \@^ftps\{0,1\}://@p' /etc/slackpkg/mirrors) -SOURCE="$(echo $SOURCE | sed 's/-$VERSION/-current/')" +SOURCE="$(echo $SOURCE | sed "s/-$VERSION/-current/")" yes y | slackpkg -mirror="$SOURCE" -batch=on -default_answer=yes update D="yes | slackpkg -batch=on -default_answer=yes update"; trap "$D" EXIT