change inst_symlink to inst for insmod

Use "inst" instead of "inst_symlink" for insmod, since insmod might not
necessarily be a symlink on some distros.  inst_symlink is functionally
the same as inst, with an additional check to make sure that it's a
symlink (which we don't care about either way).
This commit is contained in:
Josh Poimboeuf 2014-12-03 16:10:21 -06:00
parent 6cdb5011c5
commit 07fccdb577

View File

@ -20,7 +20,7 @@ install() {
inst_any -d /usr/sbin/kpatch /usr/local/sbin/kpatch /usr/sbin/kpatch
# install kpatch script dependencies
inst_symlink /usr/sbin/insmod
inst /usr/sbin/insmod
inst /usr/bin/dirname
inst /usr/bin/readelf
inst /usr/bin/awk