Changeset 101937 in vbox for trunk/src/VBox/Additions/x11/Installer/x11restore.pl
- Timestamp:
- Nov 7, 2023 12:15:59 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/Installer/x11restore.pl
r98103 r101937 42 42 foreach $cfg (@cfg_files) 43 43 { 44 if (($os_type =~ 'SunOS') && (defined $ENV{PKG_INSTALL_ROOT})) 45 { 46 $cfg = $ENV{PKG_INSTALL_ROOT}.$cfg; 47 } 44 48 if (open(CFG, $cfg)) 45 49 { … … 54 58 { 55 59 close(BAK); 60 print("Restoring $cfg.back to $cfg.\n"); 56 61 rename $cfg.".bak", $cfg; 57 62 } … … 73 78 } 74 79 } 75 76 $config_count != 0 or die "Could not find backed-up xorg.conf to restore it.";77
Note:
See TracChangeset
for help on using the changeset viewer.