Misc: Delete the leading slash

This commit is contained in:
Muhammad Herdiansyah 2017-06-20 18:39:35 +07:00
parent 8665cbb4eb
commit 29ae56d87a

View file

@ -28,8 +28,8 @@ mkdir -p "${DESTDIR}""${PREFIX}""${CONFDIR}"
mkdir -p "${DESTDIR}""${PREFIX}""${ASCIIDIR}" mkdir -p "${DESTDIR}""${PREFIX}""${ASCIIDIR}"
mkdir -p "${DESTDIR}""${PREFIX}""${MANDIR}" mkdir -p "${DESTDIR}""${PREFIX}""${MANDIR}"
sed -i -e "s|CONFDIR|/${PREFIX}${CONFDIR}|g" neofetch sed -i -e "s|CONFDIR|${PREFIX}${CONFDIR}|g" neofetch
sed -i -e "s|ASCIIDIR|/${PREFIX}${ASCIIDIR}|g" neofetch sed -i -e "s|ASCIIDIR|${PREFIX}${ASCIIDIR}|g" neofetch
cp -p neofetch "${DESTDIR}""${PREFIX}""${BINDIR}" cp -p neofetch "${DESTDIR}""${PREFIX}""${BINDIR}"
cp -p config/config "${DESTDIR}""${PREFIX}""${CONFDIR}" cp -p config/config "${DESTDIR}""${PREFIX}""${CONFDIR}"