/usr/bin/webmin should only be in webmin

This commit is contained in:
Jamie Cameron
2021-03-09 19:18:21 -08:00
parent ec140956e8
commit 03bcf594c8

View File

@@ -93,7 +93,9 @@ if ($< == 0) {
}
# Create the link to webmin command
system("ln -s /usr/share/$baseproduct/bin/webmin $bin_dir/webmin");
if ($product eq "webmin") {
system("ln -s /usr/share/$baseproduct/bin/webmin $bin_dir/webmin");
}
# Create the control file
$size = int(`du -sk $tmp_dir`);