From 9aeab9e18497bf0e6050e7effd08c87a21812ba9 Mon Sep 17 00:00:00 2001 From: idziubenko Date: Fri, 15 Oct 2021 18:01:51 +0300 Subject: [PATCH] fixed cl-video-install newline return --- data/cl-video-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/cl-video-install b/data/cl-video-install index a6dde20..4929d2a 100644 --- a/data/cl-video-install +++ b/data/cl-video-install @@ -1,6 +1,6 @@ #!/bin/bash PKG=$1 -MASK=`cl-core --method core_variables_show --only-value install.os_nvidia_mask 2>/dev/null` +MASK=`cl-core --method core_variables_show --only-value install.os_nvidia_mask | sed -n 's/^\n$//' 2>/dev/null` WORLD=/var/lib/portage/world LOG=/dev/tty12 WRITEPKG=