From 2a1bd3748f23e5840956ddecf449e027d48cc225 Mon Sep 17 00:00:00 2001 From: Jakub Kadlčík Date: Nov 25 2016 10:40:47 +0000 Subject: [frontend] replace slashes in module name --- diff --git a/frontend/coprs_frontend/coprs/templates/coprs/detail/module.html b/frontend/coprs_frontend/coprs/templates/coprs/detail/module.html index 5bd4368..fee10b7 100644 --- a/frontend/coprs_frontend/coprs/templates/coprs/detail/module.html +++ b/frontend/coprs_frontend/coprs/templates/coprs/detail/module.html @@ -117,7 +117,7 @@
# Add module repofile to your system (this will be automated by dnf in the future)
 wget {{ copr_url('coprs_ns.generate_module_repo_file', copr, _external=True) }} -O \
-     /etc/fm.modules.d/_copr_{{ module.full_name }}-{{ module.id }}.cfg
+     /etc/fm.modules.d/_copr_{{ module.full_name |replace("/", "-") }}-{{ module.id }}.cfg
 
 # Install the module
 dnf module enable {{ module.name }}