This file is indexed.

/usr/lib/octave/packages/3.2/ocs-0.1.1/x86_64-pc-linux-gnu-api-v37/PKG_DEL is in octave-ocs 0.1.1-1.

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
dirlist        = {"utl","asm","tst","nls","prs","sbn"};
[basename,dir] = fileparts(fileparts (mfilename ("fullpath")));

## Remove the changed path added in PKG_ADD
basename = "/usr/share/octave/packages/3.2/ocs-0.1.1/";

for ii=1:length(dirlist)
  if (! exist (fullfile (basename, "inst"), "dir"))
    ## Run this if the package is installed
    rmpath ( [ basename "/" dirlist{ii}])
  else
    ## Run this if we are testing the package is installed without installation
    rmpath ( [ fileparts( mfilename("fullpath")) "/inst/" dirlist{ii}])
  end
end