summaryrefslogtreecommitdiffstats
path: root/remote/modules/smbclient
diff options
context:
space:
mode:
authorJonathan Bauer2014-07-04 15:03:06 +0200
committerJonathan Bauer2014-07-04 15:03:06 +0200
commitae42d45b4b46c70a9e1afa7bb2a36bb13e3e0070 (patch)
treeb795ae29a9cd5c0f41abada05aa99a5105d6a2e0 /remote/modules/smbclient
parent[xdg] make sure xdg-user-dirs-update is disabled (diff)
parentMerge branch 'master' of git://git.openslx.org/openslx-ng/tm-scripts (diff)
downloadtm-scripts-ae42d45b4b46c70a9e1afa7bb2a36bb13e3e0070.tar.gz
tm-scripts-ae42d45b4b46c70a9e1afa7bb2a36bb13e3e0070.tar.xz
tm-scripts-ae42d45b4b46c70a9e1afa7bb2a36bb13e3e0070.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/smbclient')
-rw-r--r--remote/modules/smbclient/module.build1
-rw-r--r--remote/modules/smbclient/module.conf.fedora9
2 files changed, 10 insertions, 0 deletions
diff --git a/remote/modules/smbclient/module.build b/remote/modules/smbclient/module.build
index dc28dd26..ec2c80fe 100644
--- a/remote/modules/smbclient/module.build
+++ b/remote/modules/smbclient/module.build
@@ -9,6 +9,7 @@ build() {
list_packet_files >> "$COPYLIST"
tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+ mkdir -p "${MODULE_BUILD_DIR}/usr/lib/cups/backend" || perror "Could not create '${MODULE_BUILD_DIR}/usr/lib/cups/backend'"
local BIN_LOCATION="$(which smbspool)"
if [ ! -z "${BIN_LOCATION}" -a -e "${BIN_LOCATION}" ]; then
ln -sf "${BIN_LOCATION}" "${MODULE_BUILD_DIR}/usr/lib/cups/backend/smb"
diff --git a/remote/modules/smbclient/module.conf.fedora b/remote/modules/smbclient/module.conf.fedora
new file mode 100644
index 00000000..f524d100
--- /dev/null
+++ b/remote/modules/smbclient/module.conf.fedora
@@ -0,0 +1,9 @@
+REQUIRED_INSTALLED_PACKAGES="
+ samba-client
+"
+REQUIRED_CONTENT_PACKAGES="
+ samba-client
+"
+REQUIRED_FILES="
+ /usr/lib/cups/backend/smb
+"