summaryrefslogtreecommitdiffstats
path: root/remote/modules/smbclient
diff options
context:
space:
mode:
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
+"