From 4e315afec44d7b7297c39d935846df7d281c41a5 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Wed, 5 Jun 2024 18:37:35 -0600 Subject: [PATCH] Fix invalid launcherctl status output when using remux (#882) * Fix #881 --- package/rmkit/launcherctl-remux | 4 ++-- package/rmkit/package | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/rmkit/launcherctl-remux b/package/rmkit/launcherctl-remux index d0c1e5436..46538ba50 100755 --- a/package/rmkit/launcherctl-remux +++ b/package/rmkit/launcherctl-remux @@ -7,7 +7,7 @@ remux_ppid() { grep "PPid:" "/proc/$(remux_pid)/status" | awk '{print $2}' } draft_apps() { - find {/opt,}/etc/draft -maxdepth 1 -type f | while read -r file; do + find {/opt,}/etc/draft -maxdepth 1 -type f 2> /dev/null | while read -r file; do name="$(grep 'name=' "$file" | sed 's|^name=||')" call="$(grep 'call=' "$file" | sed 's|^call=||')" echo -e "${name}\t${call}" @@ -89,7 +89,7 @@ case "$1" in systemctl disable remux.service ;; apps) - find {/opt,}/etc/draft -maxdepth 1 -type f | while read -r file; do + find {/opt,}/etc/draft -maxdepth 1 -type f 2> /dev/null | while read -r file; do grep 'name=' "$file" | sed 's|^name=||' done ;; diff --git a/package/rmkit/package b/package/rmkit/package index 43db913e2..6dea62b34 100644 --- a/package/rmkit/package +++ b/package/rmkit/package @@ -147,7 +147,7 @@ nao() { remux() { pkgdesc="Launcher that supports multi-tasking applications" url="https://rmkit.dev/apps/remux" - pkgver=0.3.0-4 + pkgver=0.3.0-5 section="launchers" installdepends=(procps-ng-ps)