34
34
FLAVOR_SUFFIX=`echo ${FLAVOR} | cut -s -d - -f 2`
35
FLAVORTEST=`echo ${FLAVOR} | cut -c-6`
35
FLAVORTEST=`echo ${FLAVOR} | sed -e s/^s// | cut -c-6`
36
36
if [ "X${FLAVORTEST}" = "Xxemacs" ]; then
37
37
FLAVOR_BODY=`echo ${FLAVOR} | cut -d - -f 1`
38
38
if [ "X${FLAVOR_SUFFIX}" = "Xmule" ]; then
158
158
if [ "X${COMPILED}" = Xyes ]; then
159
# recompile wl and wl-beta
160
162
if [ -d /usr/share/${FLAVOR}/site-lisp/wl ]; then
165
if [ -d /usr/share/${FLAVOR}/site-lisp/t-gnus ]; then
168
if [ -d /usr/share/${FLAVOR}/site-lisp/w3m ]; then
171
if [ "X${RECOMPILE_WL}" = Xyes ]; then
172
# remove wl/wl-beta before removing w3m-el to prevent redundant byte-compiling
161
173
for pkg in wl wl-beta; do
162
if [ -f /usr/lib/emacsen-common/packages/install/${pkg} ]; then
163
/usr/lib/emacsen-common/packages/remove/${pkg} ${FLAVOR}
164
/usr/lib/emacsen-common/packages/install/${pkg} ${FLAVOR}
174
f=/usr/lib/emacsen-common/packages/remove/${pkg}
170
if [ -d /usr/share/${FLAVOR}/site-lisp/${pkg} ]; then
171
if [ -f /usr/lib/emacsen-common/packages/install/${pkg} ]; then
172
/usr/lib/emacsen-common/packages/remove/${pkg} ${FLAVOR}
173
/usr/lib/emacsen-common/packages/install/${pkg} ${FLAVOR}
180
if [ "X${RECOMPILE_TGNUS}" = Xyes ]; then
182
f=/usr/lib/emacsen-common/packages/remove/${pkg}
187
if [ "X${RECOMPILE_W3MEL}" = Xyes ]; then
189
f=/usr/lib/emacsen-common/packages/remove/${pkg}
193
# install w3m-el before installing wl/wl-beta to prevent redundant byte-compiling
195
f=/usr/lib/emacsen-common/packages/install/${pkg}
200
if [ "X${RECOMPILE_TGNUS}" = Xyes ]; then
202
if [ ! -d /usr/share/${FLAVOR}/site-lisp/${pkg} ]; then
203
f=/usr/lib/emacsen-common/packages/install/${pkg}
209
if [ "X${RECOMPILE_WL}" = Xyes ]; then
210
if [ ! -d /usr/share/${FLAVOR}/site-lisp/wl ]; then
211
for pkg in wl wl-beta; do
212
f=/usr/lib/emacsen-common/packages/install/${pkg}