Move wsssh-tools .deb to /var/cache location

- Moved .deb from /tmp to /var/cache to avoid potential cleanup issues
- Updated hook to look for package in /var/cache/
- This should ensure the file is available during hook execution
parent 501bcbb2
......@@ -5,8 +5,8 @@ set -e
echo "Installing wsssh-tools .deb package..."
# wsssh-tools .deb package is already available in /tmp from config/includes.chroot/tmp/
WSSSH_DEB="/tmp/wsssh-tools_1.0.0-1_amd64.deb"
# wsssh-tools .deb package is available in /var/cache from config/includes.chroot/var/cache/
WSSSH_DEB="/var/cache/wsssh-tools_1.0.0-1_amd64.deb"
echo "Checking wsssh-tools at $WSSSH_DEB..."
if [ ! -f "$WSSSH_DEB" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment