From 29ae56d87abadfe28bde9ddbf0a08eccbc853386 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Tue, 20 Jun 2017 18:39:35 +0700 Subject: [PATCH] Misc: Delete the leading slash --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 1daf9901..9b9975cd 100755 --- a/install.sh +++ b/install.sh @@ -28,8 +28,8 @@ mkdir -p "${DESTDIR}""${PREFIX}""${CONFDIR}" mkdir -p "${DESTDIR}""${PREFIX}""${ASCIIDIR}" mkdir -p "${DESTDIR}""${PREFIX}""${MANDIR}" -sed -i -e "s|CONFDIR|/${PREFIX}${CONFDIR}|g" neofetch -sed -i -e "s|ASCIIDIR|/${PREFIX}${ASCIIDIR}|g" neofetch +sed -i -e "s|CONFDIR|${PREFIX}${CONFDIR}|g" neofetch +sed -i -e "s|ASCIIDIR|${PREFIX}${ASCIIDIR}|g" neofetch cp -p neofetch "${DESTDIR}""${PREFIX}""${BINDIR}" cp -p config/config "${DESTDIR}""${PREFIX}""${CONFDIR}"