|
Lines 39-44
Link Here
|
| 39 |
int err, yn, ii; |
39 |
int err, yn, ii; |
| 40 |
char command[200], sharedir[100]; |
40 |
char command[200], sharedir[100]; |
| 41 |
STATB statb; |
41 |
STATB statb; |
|
|
42 |
|
| 43 |
printz("Use 'emerge [--unmerge] media-gfx/fotoxx-maps' to install \n" |
| 44 |
"[or uninstall] fotoxx-map files system wide. That is the \n" |
| 45 |
"same as enabling media-gfx/fotoxx 'map' use flag and then \n" |
| 46 |
"installing the latter. The former will not automatically \n" |
| 47 |
"pull in the latter to avoid circular dependency. \n\n" |
| 48 |
"Merge media-gfx/fotoxx to make any use of installed maps. \n\n" |
| 49 |
"Maps are searched in /usr/share/fotoxx-maps first, and if \n" |
| 50 |
"not found /home/<user>/.local/share/fotoxx-maps is used. \n\n" |
| 51 |
"Custom maps go in the /home/<user>/.fotoxx/user_maps dir. \n\n" |
| 52 |
"Please read the Help > User Guide for details, there is a \n" |
| 53 |
"copy at /usr/share/fotoxx/data/userguide and another will \n" |
| 54 |
"be at /home/<user>/.fotoxx/userguide after the first run. \n"); |
| 55 |
exit(0); |
| 42 |
|
56 |
|
| 43 |
snprintf(sharedir,100,"%s/usr/share/",getenv("HERE")); |
57 |
snprintf(sharedir,100,"%s/usr/share/",getenv("HERE")); |
| 44 |
err = stat(sharedir,&statb); |
58 |
err = stat(sharedir,&statb); |