diff options
author | Simon Rettberg | 2017-01-13 12:38:19 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-01-13 12:38:19 +0100 |
commit | 26cc3b87f277d4ee85a5f9d400e0744d9bec4a59 (patch) | |
tree | 9950512fe3ca4d32f6a0674511037cda4e99e28b /core/modules/cups | |
parent | merge with latest dev version (tm-scripts commit f5a59daf8d70a9027118292cd40b... (diff) | |
download | mltk-26cc3b87f277d4ee85a5f9d400e0744d9bec4a59.tar.gz mltk-26cc3b87f277d4ee85a5f9d400e0744d9bec4a59.tar.xz mltk-26cc3b87f277d4ee85a5f9d400e0744d9bec4a59.zip |
Final merge with tm-scripts
Commit ID in tm-scripts: 6d72610c13171ab4749aa8de2f541f2b570fdb8e
Diffstat (limited to 'core/modules/cups')
-rw-r--r-- | core/modules/cups/module.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/cups/module.build b/core/modules/cups/module.build index 0128c3e6..2b29bb7d 100644 --- a/core/modules/cups/module.build +++ b/core/modules/cups/module.build @@ -12,6 +12,10 @@ build() { list_packet_files >> "$COPYLIST" tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" + # Move any disabled backends to the backend directory + mv -n -- "${MODULE_BUILD_DIR}/usr/lib/cups/backend-available/"* "${MODULE_BUILD_DIR}/usr/lib/cups/backend/" + rm -f -- "${MODULE_BUILD_DIR}/usr/lib/cups/backend-available/"* + # cups insists on overriding PATH, so we need to fix any scripts for file in "${MODULE_BUILD_DIR}"/usr/lib/cups/{filter,backend}/*; do head -n 1 "$file" | grep -q '^#!/' && sed -i '/^#!\//a . \/etc\/environment' "$file" |