From c8930472453c588927954ad48aaa02fe3e22dbea Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Mon, 3 Jun 2024 13:15:14 -0600 Subject: [PATCH 1/3] Fix #881 --- package/rmkit/launcherctl-remux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rmkit/launcherctl-remux b/package/rmkit/launcherctl-remux index d0c1e5436..fbc0d9907 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 ;; From 07b2e61aef452dbeccc6d9eb8aaa9b75754c9d12 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Mon, 3 Jun 2024 13:16:01 -0600 Subject: [PATCH 2/3] Update package --- package/rmkit/package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 260e792d89444d7a5b476ff417eda22e9a5f6a68 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Mon, 3 Jun 2024 13:17:19 -0600 Subject: [PATCH 3/3] Fix formatting --- package/rmkit/launcherctl-remux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/rmkit/launcherctl-remux b/package/rmkit/launcherctl-remux index fbc0d9907..46538ba50 100755 --- a/package/rmkit/launcherctl-remux +++ b/package/rmkit/launcherctl-remux @@ -89,7 +89,7 @@ case "$1" in systemctl disable remux.service ;; apps) - find {/opt,}/etc/draft -maxdepth 1 -type f 2> /dev/null | 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 ;;