diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2020-07-05 21:25:18 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2020-07-05 21:25:18 +0100 |
commit | 78815d2b74d48b2419fff275c3aae61b71cabe1c (patch) | |
tree | 3dea434be88dd3885bf484d8515bb5fc68e37136 | |
parent | 90b5c069ddf9c0f204fc392c1cd5325b7455e861 (diff) | |
download | draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.tar draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.tar.gz draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.tar.bz2 draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.tar.xz draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.zip |
Disable timeout when running gurpmi2 to install updates.
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | draklive-install | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- disable timeout when running gurpmi2 to install updates + 2.25 - add option to install updates diff --git a/draklive-install b/draklive-install index b3212c3..592b667 100755 --- a/draklive-install +++ b/draklive-install @@ -486,7 +486,7 @@ Do you want to install the updates?")), }; my $log_file = '/root/drakx/updates.log'; - run_program::rooted($::prefix, 'gurpmi2', '>>', $log_file, '2>>', $log_file, '--auto-select'); + run_program::raw({ root => $::prefix, timeout => 'never' }, 'gurpmi2', '>>', $log_file, '2>>', $log_file, '--auto-select'); clean_rpmdb_shared_regions(); } |