cdist/hacking/v2-initramfs-from-os/bin_to_pkg.sh

5 lines
61 B
Bash
Raw Permalink Normal View History

#!/bin/sh
abspath=$(command -v "$1")
pacman -Qoq "$abspath"