]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/python-lzma
core81: set need reboot flag and restart apache.
[people/teissler/ipfire-2.x.git] / lfs / python-lzma
index b05ba2dda5029279ed098868e3263b1653d26d78..c2ffcfc45eb2edac273d29f64d7b101946e46217 100644 (file)
@@ -78,5 +78,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && python setup.py install
+       # unzip the egg because it won't work without
+       cd /usr/lib/python2.7/site-packages && \
+               unzip pyliblzma-$(VER)-py2.7-linux-*.egg
+       rm -rf /usr/lib/python2.7/site-packages/pyliblzma-$(VER)-py2.7-linux-*.egg
+       rm -rf /usr/lib/python2.7/site-packages/EGG-INFO
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)