summaryrefslogtreecommitdiff
path: root/htroot/ConfigUpdate_p.java
diff options
context:
space:
mode:
authorThomas Koch <thomas@koch.ro>2022-07-10 08:23:37 +0000
committerThomas Koch <thomas@koch.ro>2022-07-10 10:14:51 +0000
commit572558244ab21c565f40f476ab6894c3b0f17909 (patch)
tree0abdd758ef37715fb59e143a1066cb102b92412f /htroot/ConfigUpdate_p.java
parent4503b9e292f2a2f4aa9c5ff9538b7a75231f81c9 (diff)
rm unused build properties PKGMANAGER, RESTARTCMD, DESTDIR
PKGMANAGER is always false, thus the java code wrapped in if statements for this property is dead code and can also be removed. The Debian packaging removed in c4659f0fb01be0f68ce3dcccc1955c8662a5345f did set the PKGMANAGER property to true. When we do distro packages again, we can revisit this commit and redo it with property files instead. RESTARTCMD is only used inside those dead code. DESTDIR is never used even in the build.xml
Diffstat (limited to 'htroot/ConfigUpdate_p.java')
-rw-r--r--htroot/ConfigUpdate_p.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/htroot/ConfigUpdate_p.java b/htroot/ConfigUpdate_p.java
index 7a49807fe..9bc35e483 100644
--- a/htroot/ConfigUpdate_p.java
+++ b/htroot/ConfigUpdate_p.java
@@ -53,10 +53,7 @@ public class ConfigUpdate_p {
final Switchboard sb = (Switchboard) env;
// set if this should be visible
- if (yacyBuildProperties.isPkgManager()) {
- prop.put("candeploy", "2");
- return prop;
- } else if (OS.isWindows && sb.appPath.toString().indexOf("Program Files") > -1) {
+ if (OS.isWindows && sb.appPath.toString().indexOf("Program Files") > -1) {
prop.put("candeploy", "3");
return prop;
} else if (OS.canExecUnix || OS.isWindows) {