diff options
author | Slack Coder <slackcoder@server.ky> | 2024-04-04 17:41:51 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-04-04 17:41:51 -0500 |
commit | b0fcea1b18c41ae7dbc7f6ca9d0dace5b35f305c (patch) | |
tree | fdf96b4ac2084f65ac83c92cab56cd0ad70948a1 /src | |
parent | 00256939eadfe0988289c5a997c29393fbecad42 (diff) | |
download | slack-autoupdate-b0fcea1b18c41ae7dbc7f6ca9d0dace5b35f305c.tar.xz |
update-current: Fix version substitution
Diffstat (limited to 'src')
-rw-r--r-- | src/recipes/use-current-kernel.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recipes/use-current-kernel.sh b/src/recipes/use-current-kernel.sh index 2b82a25..8c41569 100644 --- 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 |