summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-22 23:00:27 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-22 23:00:27 +0000
commit1fb7342916768c078edf6ce9bcac7bfd88bdfee0 (patch)
treec86588929352ebcaff75874421658e3e10aaf232
parentf4d79d3a194e2c99551fb91e77c663dfb74cb255 (diff)
downloaddrakiso-1fb7342916768c078edf6ce9bcac7bfd88bdfee0.tar
drakiso-1fb7342916768c078edf6ce9bcac7bfd88bdfee0.tar.gz
drakiso-1fb7342916768c078edf6ce9bcac7bfd88bdfee0.tar.bz2
drakiso-1fb7342916768c078edf6ce9bcac7bfd88bdfee0.tar.xz
drakiso-1fb7342916768c078edf6ce9bcac7bfd88bdfee0.zip
drakclassic no longer needs to be run as root.
All commands that need root privileges are run via sudo.
-rwxr-xr-xdrakclassic2
1 files changed, 0 insertions, 2 deletions
diff --git a/drakclassic b/drakclassic
index e120402..e8a5a4e 100755
--- a/drakclassic
+++ b/drakclassic
@@ -74,8 +74,6 @@ my @actions = (
);
my @all = qw(media files boot master);
-die "you must be root to run this program\n" if $>;
-
my $build_object = 'MGA::DrakISO::ClassicBuild'->new;
my $config_root = '/etc/drakclassic';
my $config_path = 'config/build.cfg';