Mercurial > audlegacy
changeset 2780:37e46a06a8d4 trunk
[svn] Moved migrate_config.sh to contrib.
author | js |
---|---|
date | Fri, 18 May 2007 14:01:45 -0700 |
parents | 79c75896893a |
children | f678ba17eee3 |
files | ChangeLog contrib/migrate_config.sh migrate_config.sh src/audacious/build_stamp.c |
diffstat | 4 files changed, 41 insertions(+), 29 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 17 19:47:56 2007 -0700 +++ b/ChangeLog Fri May 18 14:01:45 2007 -0700 @@ -1,3 +1,15 @@ +2007-05-18 02:47:56 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [4584] + Entirely rework the default skin from scratch. A comparison is available + at http://mail.atheme.org/~nenolod/new_and_old_skins.png. The rationale + of this rework is that the old skin had become a hodgepodge of multiple + styles during 1.3 development, etcetera. There are some minor tweaks + that could still be done, I will take care of those in the next + few commits. + + 0 files changed + + 2007-05-17 08:59:45 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [4582] - drop no-longer-used libaudacious C++ bindings
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contrib/migrate_config.sh Fri May 18 14:01:45 2007 -0700 @@ -0,0 +1,28 @@ +#!/bin/sh +# +# This script is used to convert the old $HOME/.audacious config dir +# to the new XDG basedir equivalent. +# + +: ${BMP_RCPATH:=".audacious"} +: ${XDG_CONFIG_HOME:="$HOME/.config"} +: ${XDG_DATA_HOME:="$HOME/.local/share"} +: ${XDG_CACHE_HOME:="$HOME/.cache"} + +rm -fr "$XDG_CONFIG_HOME/audacious" +rm -fr "$XDG_DATA_HOME/audacious" +rm -fr "$XDG_CACHE_HOME/audacious" + +mkdir -p "$XDG_CONFIG_HOME/audacious" +mkdir -p "$XDG_DATA_HOME/audacious/Plugins" +mkdir -p "$XDG_DATA_HOME/audacious/Skins" +mkdir -p "$XDG_CACHE_HOME/audacious/thumbs" + +mv "$HOME/$BMP_RCPATH/config" "$XDG_CONFIG_HOME/audacious/" +mv "$HOME/$BMP_RCPATH/playlist.xspf" "$XDG_CONFIG_HOME/audacious/" +mv "$HOME/$BMP_RCPATH/Plugins" "$XDG_DATA_HOME/audacious/" +mv "$HOME/$BMP_RCPATH/Skins" "$XDG_DATA_HOME/audacious/" +mv "$HOME/$BMP_RCPATH/accels" "$XDG_CONFIG_HOME/audacious/" +mv "$HOME/$BMP_RCPATH/log" "$XDG_CONFIG_HOME/audacious/" + +echo "Conversion done. Please move the remaining files manually."
--- a/migrate_config.sh Thu May 17 19:47:56 2007 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -#!/bin/sh -# -# This script is used to convert the old $HOME/.audacious config dir -# to the new XDG basedir equivalent. -# - -: ${BMP_RCPATH:=".audacious"} -: ${XDG_CONFIG_HOME:="$HOME/.config"} -: ${XDG_DATA_HOME:="$HOME/.local/share"} -: ${XDG_CACHE_HOME:="$HOME/.cache"} - -rm -fr "$XDG_CONFIG_HOME/audacious" -rm -fr "$XDG_DATA_HOME/audacious" -rm -fr "$XDG_CACHE_HOME/audacious" - -mkdir -p "$XDG_CONFIG_HOME/audacious" -mkdir -p "$XDG_DATA_HOME/audacious/Plugins" -mkdir -p "$XDG_DATA_HOME/audacious/Skins" -mkdir -p "$XDG_CACHE_HOME/audacious/thumbs" - -mv "$HOME/$BMP_RCPATH/config" "$XDG_CONFIG_HOME/audacious/" -mv "$HOME/$BMP_RCPATH/playlist.xspf" "$XDG_CONFIG_HOME/audacious/" -mv "$HOME/$BMP_RCPATH/Plugins" "$XDG_DATA_HOME/audacious/" -mv "$HOME/$BMP_RCPATH/Skins" "$XDG_DATA_HOME/audacious/" -mv "$HOME/$BMP_RCPATH/accels" "$XDG_CONFIG_HOME/audacious/" -mv "$HOME/$BMP_RCPATH/log" "$XDG_CONFIG_HOME/audacious/" - -echo "Conversion done. Please move the remaining files manually."