fix errors in do_install function

pull/568/head
Dustin Falgout 2016-09-18 06:01:08 -05:00
parent a8205bada6
commit a3ab032bbf
1 changed files with 8 additions and 4 deletions

View File

@ -7,22 +7,26 @@ do_install() {
GTK320DIR="${INSTALL_DIR}/gtk-3.20"
install -dm755 "${INSTALL_DIR}"
cp index.theme "${INSTALL_DIR}"
for _DIR in "${GTKDIR}" "${GTK320DIR}"
do
GTKVER="${_DIR##*/}"
cd src
mkdir -p "${_DIR}"
cp -rT "${INSTALL_DIR}" \
cp -rt "${INSTALL_DIR}" \
gtk-2.0 metacity-1 openbox-3 xfce-notify-4.0 xfwm4 unity
cp -T "${_DIR}" \
cp -t "${_DIR}" \
"${GTKVER}/gtk.css" \
"${GTKVER}/gtk-dark.css" \
"${GTKVER}/gtk.gresource" \
"${GTKVER}/thumbnail.png" \
"${GTKVER}/index.theme"
"${GTKVER}/thumbnail.png"
cd -
done
}