utils.sh :: fix errors in do_install function

pull/611/head
Dustin Falgout 2016-10-22 20:18:42 -05:00
parent b30fb3b27c
commit 5f85cecdc6
1 changed files with 4 additions and 4 deletions

View File

@ -12,16 +12,16 @@ do_install() {
cp index.theme "${INSTALL_DIR}" cp index.theme "${INSTALL_DIR}"
cp -rt "${INSTALL_DIR}" \
assets gtk-2.0 metacity-1 openbox-3 xfce-notify-4.0 xfwm4 unity
for _DIR in "${GTKDIR}" "${GTK320DIR}" for _DIR in "${GTKDIR}" "${GTK320DIR}"
do do
GTKVER="${_DIR##*/}" GTKVER="${_DIR##*/}"
mkdir "${_DIR}" mkdir "${_DIR}"
cp --preserve=links -rt "${INSTALL_DIR}" \ cp -t "${_DIR}" \
assets gtk-2.0 metacity-1 openbox-3 xfce-notify-4.0 xfwm4 unity
cp --preserve=links -t "${_DIR}" \
"${GTKVER}/gtk.css" \ "${GTKVER}/gtk.css" \
"${GTKVER}/gtk-dark.css" \ "${GTKVER}/gtk-dark.css" \
"${GTKVER}/gtk.gresource" \ "${GTKVER}/gtk.gresource" \