Skip to content

Commit

Permalink
move pip install above snap
Browse files Browse the repository at this point in the history
  • Loading branch information
ohemorange committed Feb 25, 2021
1 parent e18fde4 commit 43281e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _scripts/instruction-widget/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ module.exports = function(context) {
if (context.webserver == "plesk" || context.distro == "windows" ||
context.distro == "sharedhost") {
return '';
} else if (context.distro == "pip") {
pip_install();
}
else if (snap_distros.includes(context.distro)) {
snap_install();
Expand All @@ -53,8 +55,6 @@ module.exports = function(context) {
macos_install();
} else if (context.distro == "devuan" && context.version > 1) {
debian_install();
} else if (context.distro == "pip") {
pip_install();
} else {
snap_install();
}
Expand Down

0 comments on commit 43281e1

Please sign in to comment.