View Single Post
Posts: 97 | Thanked: 50 times | Joined on Aug 2013 @ New Delhi
#118
Originally Posted by Ancelad View Post
I'm not sure that your postinst will work. AFAIK you're running openmode, so you postinst works fine for you. But users without openmode will get 'permission-denied' error in installation-log. You should make aegis-manifest to provide user-credentials for your postinst.

Code:
#!/bin/sh
mkdir /home/user/MyDocs/Fonts/
cp -r /usr/share/themes/Fonts /home/user/MyDocs
Yep, postinst doesnt work - Permission denied.

EDIT 1 : After trying Ancelad's suggestion, the postinst still doesn't work. Permission denied. I reckon I need to be in openmode to make it work. =/
__________________
Twitter : @Dak_sriv

Last edited by dak_sriv; 2013-12-11 at 11:09.