Corrected incorrect DESTDIR variables in usher (should be TARGET)

This commit is contained in:
2017-05-18 19:23:19 -05:00
parent 4cec71bfbb
commit ab041cd8ef
2 changed files with 4 additions and 4 deletions

View File

@@ -28,13 +28,13 @@ case $1 in
${TARGET}/etc/snap.conf
fi
if [ ! -f ${TARGET}/var/log/btmp ]; then
install -v -m 600 /dev/null $(DESTDIR)/var/log/btmp
install -v -m 600 /dev/null ${TARGET}/var/log/btmp
fi
if [ ! -f ${TARGET}/var/log/lastlog ]; then
install -v -m 664 /dev/null $(DESTDIR)/var/log/lastlog
install -v -m 664 /dev/null ${TARGET}/var/log/lastlog
fi
if [ ! -f ${TARGET}/var/log/wtmp ]; then
install -v -m 664 /dev/null $(DESTDIR)/var/log/wtmp
install -v -m 664 /dev/null ${TARGET}/var/log/wtmp
fi
;;
prerm)