aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/packages.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/packages.js b/src/modules/packages.js
index 0f23c81..f868d16 100644
--- a/src/modules/packages.js
+++ b/src/modules/packages.js
@@ -34,6 +34,10 @@ function update_path() {
}; update_path();
packages.format_name = (author, package_name, version) => {
+ if (version && version[0] == "v") {
+ version = version.substring(1, version.length);
+ }
+
return author + "-" + package_name + "-" + version;
}