File: destinstall

package info (click to toggle)
oxref 2.02.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 692 kB
  • sloc: cpp: 1,282; makefile: 131; sh: 48
file content (11 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
void destInstall(string dest, string base)
{
    chdir(g_cwd + base);                // go to the base directory
                                        // (e.g., install/b)

    // install the entries under the base directory to (= below) dest,
    // which could be / or /tmp/whatever/
    // They are not yet logged: to log installed entries call 
    // logInstalled(dest, section)
    run(g_cwd + "icmake/installer " + dest + "/ "); // install the files
}