diff options
Diffstat (limited to 'pixmaps/icons/icon-theme-installer')
-rwxr-xr-x | pixmaps/icons/icon-theme-installer | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/pixmaps/icons/icon-theme-installer b/pixmaps/icons/icon-theme-installer index b1c93f59..c166fa6d 100755 --- a/pixmaps/icons/icon-theme-installer +++ b/pixmaps/icons/icon-theme-installer | |||
@@ -30,7 +30,7 @@ | |||
30 | # music-player-banshee-16.png | 30 | # music-player-banshee-16.png |
31 | # | 31 | # |
32 | # The <SIZE> here is -16 and will expand to 16x16 per the icon theme | 32 | # The <SIZE> here is -16 and will expand to 16x16 per the icon theme |
33 | spec | 33 | # spec |
34 | # | 34 | # |
35 | # What follows is an example Makefile.am for icon theme installation: | 35 | # What follows is an example Makefile.am for icon theme installation: |
36 | # | 36 | # |
@@ -45,8 +45,8 @@ spec | |||
45 | # apps,music-player-banshee-32.png | 45 | # apps,music-player-banshee-32.png |
46 | # | 46 | # |
47 | # install_icon_exec = $(top_srcdir)/build/icon-theme-installer -t | 47 | # install_icon_exec = $(top_srcdir)/build/icon-theme-installer -t |
48 | $(theme) -s $(srcdir) -d "x$(DESTDIR)" -b $(themedir) -m | 48 | # $(theme) -s $(srcdir) -d "x$(DESTDIR)" -b $(themedir) -m |
49 | "$(mkinstalldirs)" -x "$(INSTALL_DATA)" | 49 | #"$(mkinstalldirs)" -x "$(INSTALL_DATA)" |
50 | # install-data-local: | 50 | # install-data-local: |
51 | # $(install_icon_exec) -i $(theme_icons) | 51 | # $(install_icon_exec) -i $(theme_icons) |
52 | # | 52 | # |
@@ -63,15 +63,14 @@ $(theme) -s $(srcdir) -d "x$(DESTDIR)" -b $(themedir) -m | |||
63 | # -u : Uninstall | 63 | # -u : Uninstall |
64 | # -t <theme> : Theme name (hicolor) | 64 | # -t <theme> : Theme name (hicolor) |
65 | # -b <dir> : Theme installation dest directory [x$(DESTDIR)] - Always | 65 | # -b <dir> : Theme installation dest directory [x$(DESTDIR)] - Always |
66 | prefix | 66 | # prefix |
67 | # this argument with x; it will be stripped but will act as | 67 | # this argument with x; it will be stripped but will act as |
68 | a | ||
69 | # placeholder for zero $DESTDIRs (only set by packagers) | 68 | # placeholder for zero $DESTDIRs (only set by packagers) |
70 | # -d <dir> : Theme installation directory [$(hicolordir)] | 69 | # -d <dir> : Theme installation directory [$(hicolordir)] |
71 | # -s <dir> : Source directory [$(srcdir)] | 70 | # -s <dir> : Source directory [$(srcdir)] |
72 | # -m <exec> : Command to exec for directory creation [$(mkinstalldirs)] | 71 | # -m <exec> : Command to exec for directory creation [$(mkinstalldirs)] |
73 | # -x <exec> : Command to exec for single file installation | 72 | # -x <exec> : Command to exec for single file installation |
74 | [$(INSTALL_DATA)] | 73 | # [$(INSTALL_DATA)] |
75 | # <remainging> : All remainging should be category,filename pairs | 74 | # <remainging> : All remainging should be category,filename pairs |
76 | 75 | ||
77 | while getopts "iut:b:d:s:m:x:" flag; do | 76 | while getopts "iut:b:d:s:m:x:" flag; do |
@@ -149,8 +148,7 @@ icon theme" | |||
149 | exit 1 | 148 | exit 1 |
150 | } | 149 | } |
151 | 150 | ||
152 | $($INSTALL_DATA_EXEC $SRC_DIR/$build_name $install_path) | 151 | $($INSTALL_DATA_EXEC $SRC_DIR/$build_name $install_path) || { |
153 | || { | ||
154 | echo "Failed to install $SRC_DIR/$build_name | 152 | echo "Failed to install $SRC_DIR/$build_name |
155 | into $install_path" | 153 | into $install_path" |
156 | exit 1 | 154 | exit 1 |