-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update install script for what should be the last time (at least for …
…a while) Fixes #570
- Loading branch information
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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}" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
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 | ||
This comment has been minimized.
Sorry, something went wrong.
khurshid-alam
Contributor
|
||
cd - | ||
done | ||
} | ||
|
@lots0logs
mkdir -p
would be better as it would allow anyone compile locally multiple times without getting error.