<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Nov 8, 2014 at 10:05 AM, Eric Sharkey <span dir="ltr"><<a href="mailto:eric@lisaneric.org" target="_blank">eric@lisaneric.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On Sat, Nov 8, 2014 at 2:09 AM, Jon Heizer <<a href="mailto:jheizer@gmail.com" target="_blank">jheizer@gmail.com</a>> wrote:<br>
> BUT I do not seem to get along with packaging at all. Everything is working<br>
> perfectly except on single files fails to copy. No idea why. :wall:<br>
<br>
</span>I'm not following you, Jon. What failed?<br>
<br>
Other than the problems with dependent packages, I haven't had any<br>
issues using the .deb you provided.<br>
<div><div><br>
Eric<br></div></div></blockquote><div><br></div><div>Since then I decided to do 2 things. </div><div><br></div><div>1. Changed where things install: Instead of just dumping to /var/www/ the site goes to /usr/share/mobilemyth/web/, configs to /etc/mobilemyth and logs to /var/log/mobilemyth. With this I can also peel out the cron jobs where I have told people to make curl requests to certain pages and make them proper stand alone executables than can sit in /usr/share/mobilemyth.</div><div><br></div><div>2. Changed over to use dpkg-buildpackage vs rolling my own with my own scripts. I was hoping this would help me doing things more correct and efficiently.</div><div><br></div><div>So have have all the code changes and packaging setup to handle all the different directories and such and everything works except I end up with an empty /etc/mobilemyth directory. No apache.conf. I played with it for about 4 hours last night trying to figure out what I was doing wrong without luck.</div><div><br></div><div>The debian/install consists of</div><div><div>src/etc/mobilemyth/ etc</div><div>src/usr/share/mobilemyth/ usr/share</div><div>src/var/log/mobilemyth/ var/log</div></div><div><br></div><div>I've tried a billion variations. Some of them I end up with apache.conf in a directory of apache.conf.</div><div><br></div><div>I can see that when I run dpkg-buildpackage that it is copying the apache.conf from the source directory into it's copy in the correct location ( debian/mobilemyth/etc/mobilemyth/apache.conf</div><div>). I also see that it is adding it as an entry under debian/mobilemyth/DEBIAN/conffiles not sure if that is causing it to break or what.</div><div><br></div><div>In summary I took something that was pretty much working and made a mess of it all.</div><div><br></div><div>Jon</div></div></div></div>