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: {
|
info: {
|
||||||
arch: 'amd64',
|
arch: 'amd64',
|
||||||
targetDir: distPath,
|
targetDir: distPath,
|
||||||
|
depends: 'libc6 (>= 2.4)',
|
||||||
scripts: {
|
scripts: {
|
||||||
postinst: path.join(config.STATIC_PATH, 'linux', 'postinst'),
|
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-packager": "^6.0.0",
|
||||||
"electron-winstaller": "feross/windows-installer#build",
|
"electron-winstaller": "feross/windows-installer#build",
|
||||||
"gh-release": "^2.0.3",
|
"gh-release": "^2.0.3",
|
||||||
"nobin-debian-installer": "^0.0.6",
|
"nobin-debian-installer": "^0.0.8",
|
||||||
"plist": "^1.2.0",
|
"plist": "^1.2.0",
|
||||||
"standard": "^6.0.5"
|
"standard": "^6.0.5"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
chmod +x /opt/webtorrent-desktop/WebTorrent
|
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