Skip to content

Commit

Permalink
Fix invalid launcherctl status output when using remux (#882)
Browse files Browse the repository at this point in the history
* Fix #881
  • Loading branch information
Eeems authored Jun 6, 2024
1 parent 80e31f4 commit cbdb654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package/rmkit/launcherctl-remux
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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
;;
Expand Down
2 changes: 1 addition & 1 deletion package/rmkit/package
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cbdb654

Please sign in to comment.