Skip to content

Commit 584e3a4

Browse files
authored
Workaround locale troubles
...in some releases the language is not correctly detected
1 parent 97b84ea commit 584e3a4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

virtualbox-kvm-junest.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ _post_installation_processes() {
3939

4040
sed -i "s/VERSION/$vboxver/g" AppDir/AppRun
4141

42-
# Fix locale
42+
# Workaround locale troubles (in some releases the language is not correctly detected)
4343
mkdir -p AppDir/.junest/usr/lib/virtualbox/nls
44-
mv AppDir/.junest/usr/share/virtualbox/nls/* AppDir/.junest/usr/lib/virtualbox/nls/
45-
rm -R -f AppDir/.junest/usr/share/virtualbox/nls
44+
cp -r AppDir/.junest/usr/share/virtualbox/nls/* AppDir/.junest/usr/lib/virtualbox/nls/
4645

4746
# Add guest additions
4847
if ! test -f ./VBoxGuestAdditions.iso; then

0 commit comments

Comments
 (0)