Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pvanhoof@lors:~/repos/maemo/system-services/system-services$ git diff
- diff --git a/system-services/tracker-init.conf b/system-services/tracker-init.conf
- index 48bf3c0..4c74b8a 100644
- --- a/system-services/tracker-init.conf
- +++ b/system-services/tracker-init.conf
- @@ -42,6 +42,25 @@ script
- touch_dir /home/user/.cache/media-art
- fi
- + # Upgrade the media-art, this needs to be done only once after package upgrade
- + BASE=/home/user/.cache/media-art
- + if ! test -f "$BASE/.media-art-upgraded-1.0-to-1.2"; then
- + FILES=`ls $BASE`
- + for f in $FILES
- + do
- + PART1=`echo $f | cut -d '-' -f 2`
- + PART2=`echo $f | cut -d '-' -f 3`
- + if test x"$PART1" != x"7215ee9c7d9dc229d2921a40e899ec5f"; then
- + EXPECT="album-7215ee9c7d9dc229d2921a40e899ec5f-"$PART2
- + if ! test -f $EXPECT; then
- + mv $BASE/$f $BASE/$EXPECT
- + ln -s $BASE/$EXPECT $BASE/$f
- + fi
- + fi
- + done
- + touch $BASE/.media-art-upgraded-1.0-to-1.2
- + fi
- +
- sync
- #echo "startup: (`cut -d " " -f 1 /proc/uptime`) tracker-init done"
- end script
- pvanhoof@lors:~/repos/maemo/system-services/system-services$
Add Comment
Please, Sign In to add comment