octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pkg - post_install.m


From: marco Vassallo
Subject: pkg - post_install.m
Date: Fri, 6 Sep 2013 09:52:32 +0200

Hi all,

I have a little problem using pkg.

After the installation, I need to move a file from the folder where the DLD-function are installed ("x86_64-unknown-linux-gnu-api-v48+" on my pc) to another directory.


function post_install (desc)

  func = fullfile (desc.dir, "@function");
  [status, msg] = mkdir (func);

  [status, msg, msgid] = movefile ('./src/feval.oct', func, 'f');

endfunction


After the installation, the file "feval.oct" has been correctly moved to the "@function" folder, but it is also available in the original folder "x86_64-unknown-linux-gnu-api-v48+".
How can I fix it?

Thanks

Marco


reply via email to

[Prev in Thread] Current Thread [Next in Thread]