helper/installKernelTarball.sh
2019-05-04 14:54:39 +02:00

11 lines
177 B
Bash

#!/usr/bin/env bash
TARBALL="$(realpath "$1")"
if [[ ! -f "$TARBALL" ]] ; then
echo "$TARBALL" is not a file!
exit 2
fi
tar --keep-directory-symlink -xf "$TARBALL" -C /