diff --git a/README.md b/README.md index 13dc0f42..20eb82e7 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ See https://www.freedesktop.org/software/systemd/man/systemd.time.html If you want `arch-update` to show the packages version changes in the main `update` function, run the following command: ``` -sudo sed -i "s/ | awk '{print \$1}'//g" /usr/bin/arch-update 2>/dev/null || sudo sed -i "s/ | awk '{print \$1}'//g" /usr/local/bin/arch-update 2>/dev/null +sudo sed -i "s/ | awk '{print \$1}'//g" /usr/bin/arch-update /usr/local/bin/arch-update 2>/dev/null || true ``` ## Contributing diff --git a/doc/man/arch-update.1 b/doc/man/arch-update.1 index f16959c9..7a744d91 100755 --- a/doc/man/arch-update.1 +++ b/doc/man/arch-update.1 @@ -98,7 +98,7 @@ See https://www.freedesktop.org/software/systemd/man/systemd.time.html .B Show packages version changes .RB "If you want Arch-Update to show the packages version changes in the main " "update " "function, launch the following command :" .br -.B sudo sed -i "s/ | awk '{print \$1}'//g" /usr/bin/arch-update 2>/dev/null || sudo sed -i "s/ | awk '{print \$1}'//g" /usr/local/bin/arch-update 2>/dev/null +.B sudo sed -i "s/ | awk '{print \$1}'//g" /usr/bin/arch-update /usr/local/bin/arch-update 2>/dev/null || true .SH SEE ALSO .BR cp (1),