[Lunar-commits] <lunar> Support more source file extension in lvu new
Peter de Ridder
peter at lunar-linux.org
Fri Oct 5 23:36:59 CEST 2012
commit d2c7f6fffc2ed129fbd8d7c6f35a57123c8e43f9
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Fri, 05 Oct 2012 14:36:59 -0700
URL: https://github.com/lunar-linux/lunar/commit/d2c7f6fffc2ed129fbd8d7c6f35a57123c8e43f9
Support more source file extension in lvu new
---
prog/lvu | +3/-0
1 file changed, 3 insertions(+)
--- a/prog/lvu
+++ b/prog/lvu
@@ -1134,6 +1134,9 @@ new_module()
VERSION=${VERSION/.bz2}
VERSION=${VERSION/.gz}
VERSION=${VERSION/.xz}
+ VERSION=${VERSION/.zip}
+ VERSION=${VERSION/.7z}
+ VERSION=${VERSION/.lzma}
SOURCE=$(echo $SOURCE | sed "s/$MODULE/\${MODULE}/")
SOURCE=$(echo $SOURCE | sed "s/$VERSION/\${VERSION}/")
More information about the Lunar-commits
mailing list