1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

Merge remote branch 'remotes/backfire/master' into xburst

This commit is contained in:
Mirko Vogt
2010-08-09 12:39:25 +00:00
131 changed files with 5152 additions and 12102 deletions

View File

@@ -192,7 +192,8 @@ env_new() {
if [ -f "$BASEDIR/.config" -o -d "$BASEDIR/files" ]; then
if ask_bool 1 "Do you want to keep your current config and files?"; then
[ -d "$BASEDIR/files" -a \! -L "$BASEDIR/files" ] && {
mv "$BASEDIR/files/"* "$ENVDIR/" 2>/dev/null
mkdir -p "$ENVDIR/files"
mv "$BASEDIR/files/*" "$ENVDIR/files/" 2>/dev/null
rmdir "$BASEDIR/files"
}
env_sync