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

5 lines
61 B
Bash
Executable File

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