mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-04 12:55:37 -04:00
CalamaresUtils::System is now a class.
This commit is contained in:
parent
0803d86c40
commit
42e465aa10
12 changed files with 158 additions and 99 deletions
|
@ -57,11 +57,13 @@ SetTimezoneJob::exec()
|
|||
tr( "Bad path: %1" ).arg( zoneFile.absolutePath() ) );
|
||||
|
||||
// Make sure /etc/localtime doesn't exist, otherwise symlinking will fail
|
||||
CalamaresUtils::targetEnvCall( { "rm",
|
||||
CalamaresUtils::System::instance()->
|
||||
targetEnvCall( { "rm",
|
||||
"-f",
|
||||
localtimeSlink } );
|
||||
|
||||
int ec = CalamaresUtils::targetEnvCall( { "ln",
|
||||
int ec = CalamaresUtils::System::instance()->
|
||||
targetEnvCall( { "ln",
|
||||
"-s",
|
||||
zoneinfoPath,
|
||||
localtimeSlink } );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue