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