aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@jessyx86.local>2015-11-18 23:40:12 +0100
committerroot <root@jessyx86.local>2015-11-18 23:40:12 +0100
commit138eae869c25339fdadf3e27fd7300a9ab2ce9bf (patch)
treed1ad7277194556e33033213609932eb4ddb64075
parent2e8eddb34c371ec2b7c1d8f337fff35dd5205866 (diff)
- debian scripts: chmod +x
- naskconf: file path fixed
-rwxr-xr-x[-rw-r--r--]debian/postinst0
-rwxr-xr-x[-rw-r--r--]debian/prerm0
-rwxr-xr-xscripts/naskconf6
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/postinst b/debian/postinst
index 4e658c3..4e658c3 100644..100755
--- a/debian/postinst
+++ b/debian/postinst
diff --git a/debian/prerm b/debian/prerm
index 5b1c46d..5b1c46d 100644..100755
--- a/debian/prerm
+++ b/debian/prerm
diff --git a/scripts/naskconf b/scripts/naskconf
index f7c9f5d..5f82f22 100755
--- a/scripts/naskconf
+++ b/scripts/naskconf
@@ -14,8 +14,8 @@ _nask_cmd () {
return 1
fi
dpkg-divert --package naskpass --add --rename --divert /var/backups/cryptroot.initramfs.bak ${ORGFILE}
- cp /usr/share/naskpass/naskpass.script.initramfs ${ORGFILE}
- ln -s /usr/share/naskpass/naskpass.hook.initramfs \
+ cp /usr/share/naskpass/naskpass.initscript ${ORGFILE}
+ ln -s /usr/share/naskpass/naskpass.inithook \
/usr/share/initramfs-tools/hooks/naskpass
db_set naskpass/active true
elif [ "x$1" = "xDCTV" ] && [ "$RET" = "true" ]; then
@@ -24,7 +24,7 @@ _nask_cmd () {
dpkg-divert --package naskpass --rename --remove ${ORGFILE}
db_set naskpass/active false
elif [ "x$1" = "xUPDT" ] && [ "$RET" = "true" ]; then
- cp /usr/share/naskpass/naskpass.script.initramfs ${ORGFILE}
+ cp /usr/share/naskpass/naskpass.initscript ${ORGFILE}
fi
return 0
}