Changeset View
Changeset View
Standalone View
Standalone View
get_paths
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Line(s) | |||||
116 | # exit 1 | 116 | # exit 1 | ||
117 | ;; | 117 | ;; | ||
118 | esac | 118 | esac | ||
119 | } | 119 | } | ||
120 | 120 | | |||
121 | function get_po_path | 121 | function get_po_path | ||
122 | { | 122 | { | ||
123 | case "$1" in | 123 | case "$1" in | ||
124 | extragear-*_*) | 124 | kdesupport-*_*) | ||
125 | echo $1 | sed -r -e 's/_[^_]+$//' | 125 | echo kdesupport | ||
adrianchavesfernandez: I believe this needs to be here to match before kdesupport_* below does. I wonder if I should… | |||||
There's no kdesupport_* anymore that i can find Actually list_modules only says kdesupport-phonon_phonon kdesupport-phonon_phonon-gstreamer kdesupport-phonon_phonon-vlc so may as well remove the one from below if it bothers you. aacid: There's no kdesupport_* anymore that i can find
Actually list_modules only says
kdesupport… | |||||
126 | ;; | | |||
127 | playground-*_*) | | |||
128 | echo $1 | sed -r -e 's/_[^_]+$//' | | |||
129 | ;; | | |||
130 | www-*|websites_*) | | |||
131 | echo www | | |||
132 | ;; | 126 | ;; | ||
133 | kdelibs_*|applications_*|kdegraphics_*|kdeedu_*|kdeutils_*|kdeaccessibility_*|kdemultimedia_*|kdegames_*|kdesdk_*|kdetoys_*|kdeadmin_*|kdenetwork_*|kdewebdev_*|frameworks_*|pim_*|calligra_*) | 127 | applications_*|calligra_*|extragear-*_*|frameworks_*|kdeaccessibility_*|kdeadmin_*|kdeedu_*|kdegames_*|kdegraphics_*|kdelibs_*|kdemultimedia_*|kdenetwork_*|kdereview_*|kdesdk_*|kdesupport_*|kdetoys_*|kdeutils_*|kdewebdev_*pim_*||playground-*_*) | ||
aacid: This is broken
kdewebdev_*pim_*|| | |||||
134 | echo $1 | sed -r -e 's/_[^_]+$//' | 128 | echo $1 | sed -r -e 's/_[^_]+$//' | ||
adrianchavesfernandez: This line is no longer repeated multiple times. | |||||
135 | ;; | 129 | ;; | ||
136 | workspace_*) | | |||
137 | echo 'kde-workspace' | | |||
138 | ;; | | |||
139 | oxygen-icons) | 130 | oxygen-icons) | ||
140 | echo qt | 131 | echo qt | ||
141 | ;; | 132 | ;; | ||
142 | kdereview_*) | 133 | workspace_*) | ||
143 | echo $1 | sed -r -e 's/_[^_]+$//' | 134 | echo kde-workspace | ||
144 | ;; | | |||
145 | kdesupport-*_*) | | |||
146 | echo kdesupport | | |||
147 | ;; | 135 | ;; | ||
148 | kdesupport_*) | 136 | www-*|websites_*) | ||
149 | echo $1 | sed -r -e 's/_[^_]+$//' | 137 | echo www | ||
150 | ;; | 138 | ;; | ||
151 | *) | 139 | *) | ||
152 | echo $1 | 140 | echo $1 | ||
153 | ;; | 141 | ;; | ||
154 | esac | 142 | esac | ||
155 | } | 143 | } | ||
156 | 144 | | |||
157 | function get_vcs | 145 | function get_vcs | ||
▲ Show 20 Lines • Show All 232 Lines • Show Last 20 Lines |
I believe this needs to be here to match before kdesupport_* below does. I wonder if I should include a comment about it, to make it more obvious, since it is not easy to spot kdesupport_* below.