Commit 9bbcdaae authored by nimrod's avatar nimrod
Browse files

Removed flatpak-kill shell function, similar functionality was implemented by the flatpak CLI.

parent 6f0c564b
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -223,21 +223,6 @@ match_ssl_pair () {
    return "$exitcode"
}

flatpak-kill () {
    if [ "$#" -lt 1 ]
    then
        echo "You must specify application name." >> /dev/stderr
        false
    else
        name="$1"
        shift
        for pid in $(flatpak ps --columns=application,pid | awk "tolower(\$2) ~ /$name/ {print \$3}")
        do
            pkill "$@" "$pid"
        done
    fi
}

__run_duration () {
    if [ -f "$HOME/.prerun.$$" ]
    then