blob: df15f1376f0c4814003bfe4602a41462f766d9d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/bash
#
# Trashman package templater module for debian systems.
#
# Parameters
SHARE="$1"
# Include basic functions
source $SHARE/templater/functions || exit 1
# Templater module
function templater_trashman_debian {
if [ ! -e "description" ]; then
templater_echo "Setting Trashman package for debian systems"
touch info
mkdir -p unix/linux/debian
if [ ! -e 'unix/linux/debian/install' ]; then
cp $SHARE/trashman-debian/files/install unix/linux/debian/install
chmod +x unix/linux/debian/install
fi
else
templater_echo "Trashman package already set"
fi
}
# Dispatch
templater_trashman_debian
|