View Single Post
Posts: 7 | Thanked: 0 times | Joined on May 2011
#5
Hi michaaa62,

The Bash is already installed,thanks anyway

Hi Venemo,

Thanks for your hint, I have changed the install path to /opt/mydata
but I still got "Permission denied" when copy the file to /home/user/MyDocs using postinst.

here is the postinit:
#! /bin/bash
cp /opt/mydata/abc.txt /home/user/MyDocs


Thanks