View Single Post
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#103
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