/usr/share/octave/packages/secs2d-0.0.8/secs2d.m is in octave-secs2d 0.0.8-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ## PKG_ADD:# Run this only if the package is installed
## PKG_ADD:if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
## PKG_ADD: dirlist= {"Utilities","DDGOX","ThDDGOX","QDDGOX","METLINES","DDGOXT"};
## PKG_ADD:
## PKG_ADD: for ii=1:length(dirlist)
## PKG_ADD: addpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}])
## PKG_ADD: end
## PKG_ADD:
## PKG_ADD: __gmsh = file_in_path (EXEC_PATH, "gmsh");
## PKG_ADD: if (isempty (__gmsh))
## PKG_ADD: __gmsh = file_in_path (EXEC_PATH, "gmsh.exe");
## PKG_ADD: if (isempty (__gmsh))
## PKG_ADD: warning ("gmsh does not seem to be present some functionalities will be disabled");
## PKG_ADD: endif
## PKG_ADD: endif
## PKG_ADD: clear __gmsh;
## PKG_ADD:
## PKG_ADD: __dx = file_in_path (EXEC_PATH, "dx");
## PKG_ADD: if (isempty (__dx))
## PKG_ADD: __dx = file_in_path (EXEC_PATH, "dx.exe");
## PKG_ADD: if (isempty (__dx))
## PKG_ADD: warning ("dx does not seem to be present some functionalities will be disabled");
## PKG_ADD: endif
## PKG_ADD: endif
## PKG_ADD: clear __dx;
## PKG_ADD:end
## PKG_DEL:# Run this only if the package is installed
## PKG_DEL:if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
## PKG_DEL: dirlist= {"Utilities","DDGOX","ThDDGOX","QDDGOX","METLINES","DDGOXT"};
## PKG_DEL:
## PKG_DEL: for ii=1:length(dirlist)
## PKG_DEL: rmpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}])
## PKG_DEL: end
## PKG_DEL:end
|