Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
make it user wide
Browse files Browse the repository at this point in the history
  • Loading branch information
karasu committed May 9, 2014
1 parent fbc9d35 commit 7f580c5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,11 @@ postinstall(){
fi

# Configure fontconfig
FONTS_CONF="/usr/share/cnchi/scripts/fonts.conf"
if [ -f $FONTS_CONF ]; then
cp $FONTS_CONF ${DESTDIR}/etc
FONTCONFIG_FILE="/usr/share/cnchi/scripts/fonts.conf"
FONTCONFIG_DIR="${DESTDIR}/home/${USER_NAME}/.config/fontconfig"
if [ -f ${FONTCONFIG_FILE} ]; then
mkdir -p ${FONTCONFIG_DIR}
cp ${FONTCONFIG_FILE} ${FONTCONFIG_DIR}
fi

# Set Antergos name in filesystem files
Expand Down

0 comments on commit 7f580c5

Please sign in to comment.