Linux .deb file: update symlink on package update
* overwrite symlink on update * fix size and list definition
This commit is contained in:
@@ -303,9 +303,10 @@ function buildLinux (packageType, cb) {
|
||||
info: {
|
||||
arch: 'amd64',
|
||||
targetDir: distPath,
|
||||
depends: 'libc6 (>= 2.4)',
|
||||
scripts: {
|
||||
postinst: path.join(config.STATIC_PATH, 'linux', 'postinst'),
|
||||
postrm: path.join(config.STATIC_PATH, 'linux', 'postrm')
|
||||
prerm: path.join(config.STATIC_PATH, 'linux', 'prerm')
|
||||
}
|
||||
}
|
||||
}, [{
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"electron-packager": "^6.0.0",
|
||||
"electron-winstaller": "feross/windows-installer#build",
|
||||
"gh-release": "^2.0.3",
|
||||
"nobin-debian-installer": "^0.0.6",
|
||||
"nobin-debian-installer": "^0.0.8",
|
||||
"plist": "^1.2.0",
|
||||
"standard": "^6.0.5"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
chmod +x /opt/webtorrent-desktop/WebTorrent
|
||||
ln -s /opt/webtorrent-desktop/WebTorrent /usr/bin/webtorrent-desktop
|
||||
ln -s -f /opt/webtorrent-desktop/WebTorrent /usr/bin/webtorrent-desktop
|
||||
|
||||
Reference in New Issue
Block a user