Tag Info

New answers tagged

0

When installing a font package, you don't need to run fc-cache manually. In the past, this used to be done by a postinst script included in each font package, but now fontconfig installs a dpkg trigger that automatically regenerates the font cache whenever a new file is placed in /usr/share/fonts by any package. So a Debian package for a font file, is ...


0

You could create a post installation script: gedit debian/*packagename*.postinst This is just a normal script, so the following instructions will do: #!/bin/sh set -e chmod 755 /path/to/pythonscript.py exit 0 Alternatively, you could exclude the file from having its permissions altered by dh_fixperms. This can be done within debian/rules: %: dh ...


3

You made a little mistake in your debian/control file where you assumed that the python2.7 package provides the interpreter. /usr/bin/python is actually provided by python-minimal. That's why the following lines in your Makefile don't work as expected in the build environment: PYVER := $(shell python -c "import sys; print sys.version[0:3]") CFLAGS := -g ...


0

This is pure speculation, but your compile command is: gcc -g -I/usr/include/python -Wall -Werror -fPIC -fno-strict-aliasing -DUSESELINUX=1 -c -o dm.o dm.c However, libpython2.7-dev install files in /usr/include/python2.7, according to the file list. Perhaps you should consider different compile flags. There might be something in your system ...


0

Even if it's not really recommended to remove silently a package in /usr/local you could do it in a debian/bamliquidatorbatch.preinst script: #!/bin/sh set -e if [ -d "/usr/local/lib/python2.7/dist-packages/bamliquidatorbatch" ]; then pip uninstall -y BamLiquidatorBatch; fi Note that bamliquidatorbatch should be the exact name of your debian binary ...


0

You last example didn't have the -p argument in the mkdir, so the directory did not get created in the specified path. The rest should have worked. You will have continuous problems with names containing special characters like quotes, but if the requirement is to install to such a name, your approach to simply do the install to a normal directory, then ...


1

For your particular debian/rules:16: *** missing separator. Stop. error, make sure you have tab characters in your debian/rules file. Spaces to indent do not work.


0

You obviously can't access a Git repository on the internet without internet access. You can however clone the repository to a portable medium (e. g. with a Git environment for Windows in an internet café) and copy/move/clone it to your computer afterwards. Please note that you can clone repositories from a local file system or a resource on a local area ...


0

You'll (obviously) have to have access to his repository. You could copy his entire repository to a USB stick (make sure you copy all the hidden .git* files!) and access it that way. You can also set up network share and get access that way... Once you have access to his repository its very easy to pull his changes into your repository (using a terminal): ...



Top 50 recent answers are included