- if [ -d "$path/casper" ]; then
- if [ "$(echo $path/casper/*.squashfs)" != "$path/casper/*.squashfs" ] ||
- [ "$(echo $path/casper/*.ext2)" != "$path/casper/*.ext2" ] ||
- [ "$(echo $path/casper/*.dir)" != "$path/casper/*.dir" ]; then
+ if [ -d "$path/live" ]; then
+ if [ "$(echo $path/live/*.squashfs)" != "$path/live/*.squashfs" ] ||
+ [ "$(echo $path/live/*.ext2)" != "$path/live/*.ext2" ] ||
+ [ "$(echo $path/live/*.dir)" != "$path/live/*.dir" ]; then