Fix postinst script for cpack generated .deb package for Ubuntu 16.10
This commit is contained in:
parent
6ad8a203b5
commit
6216907500
@ -39,7 +39,8 @@ if(BUILDTYPE MATCHES RELEASE AND NOT BUILD_TESTING)
|
||||
set(CPACK_PACKAGE_EXECUTABLES "cryfs" "CryFS")
|
||||
set(CPACK_DEBIAN_PACKAGE_SECTION "utils")
|
||||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "fuse")
|
||||
# Needs gnupg2 for postinst script
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "fuse gnupg2")
|
||||
|
||||
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://www.cryfs.org")
|
||||
set(CPACK_RPM_PACKAGE_LICENSE "LGPLv3")
|
||||
|
@ -37,7 +37,7 @@ sources_list_dir () {
|
||||
root=$(get_apt_config "Dir")
|
||||
etc=$(get_apt_config "Dir::Etc")
|
||||
sourceparts=$(get_apt_config "Dir::Etc::sourceparts")
|
||||
echo $root$etc$sourceparts
|
||||
echo "$root/$etc/$sourceparts"
|
||||
}
|
||||
|
||||
add_repository () {
|
||||
|
Loading…
Reference in New Issue
Block a user