Skip to content

Commit a3ab032

Browse files
committed
fix errors in do_install function
1 parent a8205ba commit a3ab032

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

scripts/utils.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,26 @@ do_install() {
77
GTK320DIR="${INSTALL_DIR}/gtk-3.20"
88

99
install -dm755 "${INSTALL_DIR}"
10+
cp index.theme "${INSTALL_DIR}"
1011

1112
for _DIR in "${GTKDIR}" "${GTK320DIR}"
1213
do
1314
GTKVER="${_DIR##*/}"
1415

16+
cd src
17+
1518
mkdir -p "${_DIR}"
1619

17-
cp -rT "${INSTALL_DIR}" \
20+
cp -rt "${INSTALL_DIR}" \
1821
gtk-2.0 metacity-1 openbox-3 xfce-notify-4.0 xfwm4 unity
1922

20-
cp -T "${_DIR}" \
23+
cp -t "${_DIR}" \
2124
"${GTKVER}/gtk.css" \
2225
"${GTKVER}/gtk-dark.css" \
2326
"${GTKVER}/gtk.gresource" \
24-
"${GTKVER}/thumbnail.png" \
25-
"${GTKVER}/index.theme"
27+
"${GTKVER}/thumbnail.png"
28+
29+
cd -
2630
done
2731
}
2832

0 commit comments

Comments
 (0)