422 |
$OUT .= "}\n"; |
$OUT .= "}\n"; |
423 |
- |
- |
424 |
+ |
+ |
425 |
diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/migrate/phpvirtualbox smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/migrate/phpvirtualbox |
} |
426 |
--- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/migrate/phpvirtualbox 2023-03-07 16:49:37.500223500 +1100 |
|
|
+++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/migrate/phpvirtualbox 2023-03-08 10:45:22.565554001 +1100 |
|
|
@@ -13,11 +13,17 @@ |
|
|
$rec->set_prop('userGroups', $rec->prop('Group')); |
|
|
$rec->del_prop('Group'); |
|
|
} |
|
|
+ if ( -e '/etc/e-smith/db/configuration/defaults/Group') { |
|
|
+ unlink '/etc/e-smith/db/configuration/defaults/Group'; |
|
|
+ } |
|
|
|
|
|
# User replaced by Users, because it already allows for multiple users |
|
|
if ($rec->prop('User')) { |
|
|
$rec->set_prop('Users', $rec->prop('User')); |
|
|
$rec->del_prop('User'); |
|
|
} |
|
|
+ if ( -e '/etc/e-smith/db/configuration/defaults/User') { |
|
|
+ unlink '/etc/e-smith/db/configuration/defaults/User'; |
|
|
+ } |
|
|
|
|
|
} |
|