View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#48
Originally Posted by DojwqIO View Post
Can the files in the maemotex package be moved from tmp/usr to a new folder tmp/opt, delete tmp/usr and edit the files in tmp/DEBIAN to change instances of usr/local to opt/local and then repackage?
Yes. Note, though, the part in the original package with the .path file which my original description said to copy to your /home/user/.profile file. You will want to edit and update that file (it's currently in usr/local/teTeX/) to make the setup consistent. And if you do, generate a new MD5sum and update DEBIAN/md5sums (actually, you will want to re-generate that file altogether because all the paths will be changed).

And finally, edit DEBIAN/postinstall

And be aware of potential issues with a re-installed version of your repackaged file, e.g. your existing edit of your .profile.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.