From 03bcf594c84373538a9bb74d116c812aa4bafa05 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 9 Mar 2021 19:18:21 -0800 Subject: [PATCH] /usr/bin/webmin should only be in webmin --- makedebian.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makedebian.pl b/makedebian.pl index 0836a3d2c..5e153415f 100755 --- a/makedebian.pl +++ b/makedebian.pl @@ -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`);