Skip to content

Commit

Permalink
Fixed lintian warning 'symlink-should-be-relative' for the symlinks b…
Browse files Browse the repository at this point in the history
…etween /usr/bin/.. and /usr/share/<app>/bin/.. files
  • Loading branch information
aparkinson committed Jan 6, 2014
1 parent fa4c2e3 commit facd5e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ trait GenericPackageSettings
if !file.isDirectory
if name startsWith "bin/"
if !(name endsWith ".bat") // IGNORE windows-y things.
} yield LinuxSymlink("/usr/" + name, installLocation+"/"+pkg+"/"+name)
} yield LinuxSymlink("/usr/" + name, installLocation.stripPrefix("/usr/")+"/"+pkg+"/"+name)
},
// Map configuration files
linuxPackageSymlinks <++= (normalizedName in Universal, mappings in Universal, defaultLinuxInstallLocation) map { (pkg, mappings, installLocation) =>
Expand Down

0 comments on commit facd5e3

Please sign in to comment.