PathPicker icon indicating copy to clipboard operation
PathPicker copied to clipboard

Bugs in debian packaging script

Open Boruch-Baum opened this issue 9 years ago • 2 comments

The good news is that package.sh does seem to create a usable .deb file.

The script reports errors:

PathPicker-master/debian/usr/binfatal: Not a git repository (or any of the parent directories): .git
chmod: cannot access ‘/home/optimum/Projects/FaceBook_Path_Picker_-_fpp/PathPicker-master/debian/package.sh’: No such file or directory
Done! Check out fpp.deb13:55:53

It also deletes files in its own git tree, including itself! (ie. package.sh deletes package.sh)

Boruch-Baum avatar Dec 14 '16 19:12 Boruch-Baum

Sorry for the delay -- was offline for the holidays. Did you clone the repository with git or just download a zip? I believe the debian script assumes its in a git repository and tries to clean up after itself. it shouldnt delete its own script though -- thats probably an issue with one of the assumptions breaking

pcottle avatar Jan 03 '17 00:01 pcottle

the package.sh scripts deletes the package.sh file and then does a git checkout . If you are building from a non git folder, package.sh is deleted and then git checkout fails and thorws the error.

sidd607 avatar Apr 04 '17 10:04 sidd607