pmcf 1.61.2 → 1.61.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cluster.mjs +1 -1
- package/src/host.mjs +1 -1
- package/src/location.install +9 -7
- package/types/host.d.mts +1 -1
package/package.json
CHANGED
package/src/cluster.mjs
CHANGED
|
@@ -81,7 +81,7 @@ export class Cluster extends Host {
|
|
|
81
81
|
cfg.push(` ${cluster.rawAddress}`);
|
|
82
82
|
cfg.push(" }");
|
|
83
83
|
cfg.push(` virtual_router_id ${this.routerId}`);
|
|
84
|
-
cfg.push(
|
|
84
|
+
cfg.push(` priority ${this.priority}`);
|
|
85
85
|
cfg.push(" advert_int 5");
|
|
86
86
|
cfg.push(" authentication {");
|
|
87
87
|
cfg.push(" auth_type PASS");
|
package/src/host.mjs
CHANGED
package/src/location.install
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
post_install()
|
|
2
3
|
{
|
|
3
4
|
jq -r .locales[] /etc/location/location.json|while read locale
|
|
4
5
|
do
|
|
@@ -9,12 +10,13 @@ config_locales()
|
|
|
9
10
|
localectl set-locale LANG=$(jq -r .locales[0] /etc/location/location.json)
|
|
10
11
|
}
|
|
11
12
|
|
|
12
|
-
post_install()
|
|
13
|
-
{
|
|
14
|
-
config_locales
|
|
15
|
-
}
|
|
16
|
-
|
|
17
13
|
post_upgrade()
|
|
18
14
|
{
|
|
19
|
-
|
|
15
|
+
jq -r .locales[] /etc/location/location.json|while read locale
|
|
16
|
+
do
|
|
17
|
+
sed -i -e "s/^#$locale/$locale/" /etc/locale.gen
|
|
18
|
+
done
|
|
19
|
+
|
|
20
|
+
locale-gen
|
|
21
|
+
localectl set-locale LANG=$(jq -r .locales[0] /etc/location/location.json)
|
|
20
22
|
}
|