parent
5869b68549
commit
9eafed165a
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
local GTKDIR GTK320DIR GTKVER INSTALL_DIR
|
local GTKDIR GTK320DIR GTKVER INSTALL_DIR
|
||||||
|
@ -12,8 +12,8 @@ do_install() {
|
||||||
|
|
||||||
cp index.theme "${INSTALL_DIR}"
|
cp index.theme "${INSTALL_DIR}"
|
||||||
|
|
||||||
cp -rt "${INSTALL_DIR}" \
|
cp -r assets gtk-2.0 metacity-1 openbox-3 xfce-notify-4.0 xfwm4 unity \
|
||||||
assets gtk-2.0 metacity-1 openbox-3 xfce-notify-4.0 xfwm4 unity
|
"${INSTALL_DIR}"/
|
||||||
|
|
||||||
for _DIR in "${GTKDIR}" "${GTK320DIR}"
|
for _DIR in "${GTKDIR}" "${GTK320DIR}"
|
||||||
do
|
do
|
||||||
|
@ -21,14 +21,15 @@ do_install() {
|
||||||
|
|
||||||
mkdir -p "${_DIR}"
|
mkdir -p "${_DIR}"
|
||||||
|
|
||||||
cp -t "${_DIR}" \
|
cp \
|
||||||
"${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" \
|
||||||
|
"${_DIR}"
|
||||||
|
|
||||||
cd "${_DIR}"
|
cd "${_DIR}"
|
||||||
ln -srf ../assets assets
|
ln -sf ../assets assets
|
||||||
cd -
|
cd -
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue