Skip to content

Commit 8326373

Browse files
committed
Fix command ordering per Devrim.
1 parent 1dc0f56 commit 8326373

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/downloads/js/yum.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ function archChanged() {
136136
scriptBox.innerHTML = '# Install the repository RPM:\n';
137137
scriptBox.innerHTML += installer + ' install ' + url + '\n\n';
138138

139-
scriptBox.innerHTML += '# Install PostgreSQL:\n';
140-
scriptBox.innerHTML += installer + ' install postgresql' + shortver + '-server\n\n';
141-
142139
if (disable_module_on(plat)) {
143140
scriptBox.innerHTML += '# Disable the built-in PostgreSQL module:\n';
144141
scriptBox.innerHTML += 'dnf -qy module disable postgresql\n\n';
145142
}
146143

144+
scriptBox.innerHTML += '# Install PostgreSQL:\n';
145+
scriptBox.innerHTML += installer + ' install postgresql' + shortver + '-server\n\n';
146+
147147
scriptBox.innerHTML += '# Optionally initialize the database and enable automatic start:\n';
148148
if (uses_systemd(plat)) {
149149
var setupcmd = 'postgresql-' + shortver + '-setup';

0 commit comments

Comments
 (0)