From b69313692069e5d74b10bdf3780f7f6d8e228291 Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Thu, 15 Jun 2023 01:02:58 +0200 Subject: [PATCH 1/3] Add more sed filters when parsing the news urls --- src/script/arch-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index 5499260..bbd171d 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -136,7 +136,7 @@ list_news() { case "${answer}" in 1|2|3|4|5) - news_selected=$(sed -n "${answer}"p <<< "${news_title}" | sed s/\ /-/g | sed s/[.]//g | awk '{print tolower($0)}') + news_selected=$(sed -n "${answer}"p <<< "${news_title}" | sed s/\ -//g | sed s/\ /-/g | sed s/[.]//g | sed s/=//g | sed s/\>//g | sed s/\ Date: Thu, 15 Jun 2023 01:03:15 +0200 Subject: [PATCH 2/3] Bump the script to v1.5.5 --- src/script/arch-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index bbd171d..c9d17e0 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -6,7 +6,7 @@ # Variables definition name="arch-update" -version="1.5.4" +version="1.5.5" option="${1}" # Definition of the evelation method to use (depending on which one is installed on the system) From 9f5ce8fb5c903a1889e9efa2143a9c3cb822b510 Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Thu, 15 Jun 2023 01:08:02 +0200 Subject: [PATCH 3/3] Typo --- src/script/arch-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index c9d17e0..035331f 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -136,7 +136,7 @@ list_news() { case "${answer}" in 1|2|3|4|5) - news_selected=$(sed -n "${answer}"p <<< "${news_title}" | sed s/\ -//g | sed s/\ /-/g | sed s/[.]//g | sed s/=//g | sed s/\>//g | sed s/\//g | sed s/\