Incidentally, it would be clearer and more robust if you put a trailing slash on cp target directories that you expect to exist already, e.g.:
+ cp -r /home/$TARGET_USERNAME/.local/share/orca /target/var/lib/gdm/.local/share/
Incidentally, it would be clearer and more robust if you put a trailing slash on cp target directories that you expect to exist already, e.g.:
+ cp -r /home/$ TARGET_ USERNAME/ .local/ share/orca /target/ var/lib/ gdm/.local/ share/