update install script for what should be the last time (at least for a while) Fixes #570

pull/294/merge
Dustin Falgout 2016-09-21 22:06:03 -05:00
parent 8df98047b5
commit f8c7f0c8a7
1 changed files with 9 additions and 10 deletions

View File

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