By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2105
Collapse All | Expand All

(-)a/r14-xdg-update (-1 / +49 lines)
Lines 3-9 Link Here
3
# A script to perform R14.0.0 XDG compliance updates.
3
# A script to perform R14.0.0 XDG compliance updates.
4
4
5
SCRIPT_NAME="`basename \`readlink -f $0\``"
5
SCRIPT_NAME="`basename \`readlink -f $0\``"
6
SCRIPT_VERSION=201411240
6
SCRIPT_VERSION=201412080
7
7
8
# This script should be needed to run only once, but corner cases
8
# This script should be needed to run only once, but corner cases
9
# and file/directory permissions could cause incomplete updates.
9
# and file/directory permissions could cause incomplete updates.
Lines 315-322 if [ "$R14_VERSION" -lt "201309150" ]; then Link Here
315
  if [ "$TMP_DIR" != "" ]; then
315
  if [ "$TMP_DIR" != "" ]; then
316
    rm -fr `dirname 2>/dev/null $TMP_DIR`/kde-$USER
316
    rm -fr `dirname 2>/dev/null $TMP_DIR`/kde-$USER
317
  fi
317
  fi
318
  # Cleanup variables
319
  unset CACHE_DIR
320
  unset SOCKET_DIR
321
  unset TMP_DIR
318
fi
322
fi
319
323
324
if [ "$R14_VERSION" -lt "201412080" ]; then
325
  Log "Updating references of temporary paths."
326
  # Compose current and old temporary paths
327
  CACHE_DIR="`readlink $PROFILE_DIR/cache-\`uname -n\``"
328
  SOCKET_DIR="`readlink $PROFILE_DIR/socket-\`uname -n\``"
329
  TMP_DIR="`readlink $PROFILE_DIR/tmp-\`uname -n\``"
330
  if [ "$CACHE_DIR" = "" ]; then
331
    CACHE_DIR=/var/tmp/tdecache-$USER
332
  fi
333
  if [ "$SOCKET_DIR" = "" ]; then
334
    SOCKET_DIR=/tmp/tdesocket-$USER
335
  fi
336
  if [ "$TMP_DIR" = "" ]; then
337
    TMP_DIR=/tmp/tde-$USER
338
  fi
339
  CACHE_DIR_OLD=`dirname $CACHE_DIR 2>/dev/null`/kde[0-9]*cache-$USER
340
  SOCKET_DIR_OLD=`dirname $SOCKET_DIR 2>/dev/null`/ksocket-$USER
341
  TMP_DIR_OLD=`dirname $TMP_DIR 2>/dev/null`/kde-$USER
342
  # Exclude user data files --- we don't want to touch those files.
343
  find "$PROFILE_DIR" \
344
       -path $PROFILE_DIR/share/apps/amarok/albumcovers -prune -o \
345
       -path $PROFILE_DIR/share/apps/basket/baskets -prune -o \
346
       -path $PROFILE_DIR/share/apps/juk/covers -prune -o \
347
       -path $PROFILE_DIR/share/apps/kget/logs -prune -o \
348
       -path $PROFILE_DIR/share/apps/kmail/autosave -prune -o \
349
       -path $PROFILE_DIR/share/apps/kmail/dimap -prune -o \
350
       -path $PROFILE_DIR/share/apps/kmail/imap -prune -o \
351
       -path $PROFILE_DIR/share/apps/kmail/mail -prune -o \
352
       -path $PROFILE_DIR/share/apps/kmail/search -prune -o \
353
       -path $PROFILE_DIR/share/apps/knotes -prune -o \
354
       -path $PROFILE_DIR/share/apps/kopete/logs -prune -o \
355
       -type f -print0 2>/dev/null | \
356
    xargs -r0 grep -ZIEl "($TMP_DIR_OLD|$SOCKET_DIR_OLD|$CACHE_DIR_OLD)" | \
357
    xargs -r0 sed -ri -e "s|$TMP_DIR_OLD|$TMP_DIR|g" \
358
                      -e "s|$SOCKET_DIR_OLD|$SOCKET_DIR|g" \
359
                      -e "s|$CACHE_DIR_OLD|$CACHE_DIR|g"
360
  # Cleanup variables
361
  unset CACHE_DIR
362
  unset CACHE_DIR_OLD
363
  unset SOCKET_DIR
364
  unset SOCKET_DIR_OLD
365
  unset TMP_DIR
366
  unset TMP_DIR_OLD
367
fi
320
if [ "$R14_VERSION" -lt "201309150" ]; then
368
if [ "$R14_VERSION" -lt "201309150" ]; then
321
  Log "Updating references of $TDEDIR/share/applications/kde to share/applications/tde."
369
  Log "Updating references of $TDEDIR/share/applications/kde to share/applications/tde."
322
  # Exclude KMail mail files --- we don't want to touch those files.
370
  # Exclude KMail mail files --- we don't want to touch those files.

Return to bug 2105