Skip to content

Commit

Permalink
fix: use correct directory to link binaries on deb install (#6070)
Browse files Browse the repository at this point in the history
* fix: use correct directory to link binaries on deb install

* use sanitizedProductName
  • Loading branch information
mythsunwind authored and tlebon committed Oct 12, 2022
1 parent 38718f5 commit 790fc03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/deb/after-install.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ if [ -L '/usr/local/bin/wire' ] || [ -L '/usr/local/bin/<%= executable %>' ]; th
fi

# Link to the binary
ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}'
ln -sf '/opt/${sanitizedProductName}/${executable}' '/usr/bin/${executable}'

# Prepare Chrome sandbox
chown root '/opt/${productFilename}/chrome-sandbox'
chmod 4755 '/opt/${productFilename}/chrome-sandbox'
chown root '/opt/${sanitizedProductName}/chrome-sandbox'
chmod 4755 '/opt/${sanitizedProductName}/chrome-sandbox'

0 comments on commit 790fc03

Please sign in to comment.