diff --git a/bin/deb/after-install.tpl b/bin/deb/after-install.tpl index 82992355f98..94b33f47a5a 100644 --- a/bin/deb/after-install.tpl +++ b/bin/deb/after-install.tpl @@ -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'