mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Option to not use any update system
This commit is contained in:
@@ -23,3 +23,5 @@ Fixed several bugs related to finding available updates on Debian and Redhat.
|
||||
Added detection of epochs for RPMs and packages from YUM.
|
||||
---- Changes since 1.340 ----
|
||||
Added an Upgrade All button for CSW packages.
|
||||
---- Changes since 1.440 ----
|
||||
Added a Module Config option to not use any update system, even if YUM or APT are installed.
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package_system=Package management system,4,rpm-RPM,pkgadd-Solaris,hpux-HPUX,freebsd-FreeBSD,slackware-Slackware,debian-Debian,aix-AIX,emerge-Gentoo,cygwin-Cygwin,msi-Microsoft Installer
|
||||
update_system=Package update system,1,-Detect automatically,apt-APT,yum-YUM,rhn-Redhat Network,csw-Blastwave,urpmi-URPMI,emerge-Emerge
|
||||
update_system=Package update system,1,-Detect automatically,apt-APT,yum-YUM,rhn-Redhat Network,csw-Blastwave,urpmi-URPMI,emerge-Emerge,*-None
|
||||
apt_mode=Command to use for APT installs,1,0-apt-get,1-aptitute
|
||||
|
||||
@@ -11,7 +11,11 @@ $heiropen_file = "$module_config_directory/heiropen";
|
||||
# we are using.
|
||||
do "$config{package_system}-lib.pl";
|
||||
|
||||
if ($config{'update_system'}) {
|
||||
if ($config{'update_system'} eq '*') {
|
||||
# User specifically doesn't want any
|
||||
$update_system = undef;
|
||||
}
|
||||
elsif ($config{'update_system'}) {
|
||||
# User-specified system
|
||||
$update_system = $config{'update_system'};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user