From 50794b1de1b0211ee4c040a83bba9a5f3148d066 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 20 May 2015 08:19:39 +0200 Subject: Splitting non-live specific hooks into their own subdirectory within hooks. --- share/hooks/live/0190-remove-temporary-files.hook.chroot | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 share/hooks/live/0190-remove-temporary-files.hook.chroot (limited to 'share/hooks/live/0190-remove-temporary-files.hook.chroot') diff --git a/share/hooks/live/0190-remove-temporary-files.hook.chroot b/share/hooks/live/0190-remove-temporary-files.hook.chroot deleted file mode 100755 index fd220e030..000000000 --- a/share/hooks/live/0190-remove-temporary-files.hook.chroot +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -# Remove temporary files -rm -rf /var/cache/man/* - -for _DIRECTORY in /tmp /var/tmp -do - rm -rf ${_DIRECTORY} - - mkdir -p ${_DIRECTORY} - chmod 1777 ${_DIRECTORY} -done -- cgit v1.2.3