* mapreri grunts at lp #157488 | 12:54 | |
ubot5 | Launchpad bug 157488 in Launchpad itself "Add bugwatch support for the JIRA bugtracker" [High,Triaged] https://launchpad.net/bugs/157488 | 12:54 |
---|---|---|
antodaniel | Hi | 15:11 |
antodaniel | I am trying to create a package | 15:11 |
antodaniel | while executing bzr builddeb -- -us -uc command, found below error | 15:12 |
antodaniel | maintainer-script-lacks-debhelper-token debian/postinst | 15:12 |
antodaniel | not error exactly, warning may be | 15:12 |
antodaniel | W: easyvim: maintainer-script-lacks-debhelper-token debian/postinst | 15:12 |
antodaniel | my postinst script places in debian dir | 15:13 |
antodaniel | its a simple bash script | 15:13 |
antodaniel | can anyone help me? | 15:14 |
dobey | what are the contents of your postinst? (why are you providing a custom postinst at all?) | 15:15 |
antodaniel | its a manual script just placing .vimrc to home directory | 15:16 |
antodaniel | #!/bin/bash | 15:16 |
antodaniel | cp -rfv /tmp/.vimrc $HOME | 15:16 |
antodaniel | Actually my deb package contains Makefile, .vimrc | 15:17 |
antodaniel | Makefile: | 15:18 |
antodaniel | https://gist.github.com/anonymous/c55102aa739bc527cc12 | 15:18 |
antodaniel | I followed the commands as instructed in http://packaging.ubuntu.com/html/packaging-new-software.html | 15:19 |
antodaniel | finally, ended getting warnging: W: easyvim: empty-binary-package | 15:20 |
antodaniel | when i google'd i found out there needs to be .install in debian folder | 15:21 |
dobey | you can't do that in postinst | 15:21 |
antodaniel | anything wrong with the postinst contents ? | 15:22 |
dobey | and installing '.vimrc' to /etc is also wrong | 15:22 |
antodaniel | ok | 15:22 |
antodaniel | can i do it in /etc | 15:22 |
antodaniel | ? | 15:22 |
dobey | yes, deb packages are installed as root. you should not try to modify home directories in postinst either | 15:22 |
antodaniel | sorry /tmp? | 15:22 |
dobey | no | 15:22 |
dobey | is easyvim really just a .vimrc? | 15:23 |
antodaniel | there is much more , i wanted to .vim folder in home directory | 15:23 |
dobey | you can't do anything with user home directories in packages | 15:24 |
antodaniel | i was testing this, if this works successfully, then i will go ahead and add .vim folder too | 15:24 |
antodaniel | oh ok | 15:24 |
dobey | you should probably see about fixing easyvim to work as a vim plug-in installed in /usr/share/vim/plugin or such | 15:25 |
dobey | if you want to make a deb package of it | 15:26 |
antodaniel | so i have to write vim script for this and place it in /usr/share/vim/addons/plugin | 15:29 |
antodaniel | ? | 15:29 |
dobey | i don't really know what all is required to turn easyvim into a plug-in for vim rather than just a set of files you dump in your home directory | 15:32 |
dobey | overwriting peoples' existing .vimrc and .vim directories would be very bad though. | 15:33 |
antodaniel | ok. make sense | 15:33 |
dobey | anyway, it is sunday, so i have to go do other things | 15:33 |
dobey | later | 15:33 |
antodaniel | thanks for your feedback | 15:33 |
antodaniel | I will write it as a plugin. that's a good idea | 15:34 |
Populus1 | Is this possible; download linux iso, [Tails, Ubuntu Mini Remix, Ubuntu Gnome], use software to add/remove packages, (remove software I don't need, like games), when finished use unetbootin to create a usb installer? | 15:47 |
pmatulis | can i perform this action on the CLI? https://translations.launchpad.net/serverguide/trunk/+export | 21:28 |
wgrant | pmatulis: That functionality is not exposed on the public API. | 21:50 |
pmatulis | wgrant: alright thanks | 21:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!