From 69f6e46f41f1cc03aa4be889ed07eab2112688ba Mon Sep 17 00:00:00 2001 From: Brian Read Date: Tue, 30 Jan 2024 12:36:01 +0000 Subject: [PATCH] Initial Upload --- smeserver-manager-jsquery.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/smeserver-manager-jsquery.spec b/smeserver-manager-jsquery.spec index 5cff90d..4f96131 100644 --- a/smeserver-manager-jsquery.spec +++ b/smeserver-manager-jsquery.spec @@ -15,6 +15,8 @@ BuildRequires: e-smith-devtools Requires: e-smith-release >= 10.0 AutoReqProv: no +%define dir_mngr /usr/share/smanager + %description Jsquery and associated plugins plus server-manager (2) specific overrides. @@ -59,18 +61,13 @@ then [ -h %{dir_mngr}/themes/default/public/js/datatables.min.js ] || ln -s /usr/share/javascript/datatables.min.js %{dir_mngr}/themes/default/public/js/datatables.min.js - [ -h %{dir_mngr}/themes/default/public/js/datatable.min.css ] || - ln -s /usr/share/javascript/datatables.min.css %{dir_mngr}/themes/default/public/js/jquery.min.css + [ -h %{dir_mngr}/themes/default/public/js/datatables.min.css ] || + ln -s /usr/share/javascript/datatables.min.css %{dir_mngr}/themes/default/public/js/datatables.min.css [ -h %{dir_mngr}/themes/default/public/js/jquery-ui.min.js ] || ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js %{dir_mngr}/themes/default/public/js/jquery-ui.min.js [ -h %{dir_mngr}/themes/default/public/js/jquery-ui.min.css ] || ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.css %{dir_mngr}/themes/default/public/js/jquery-ui.min.css - [ -h %{dir_mngr}/themes/default/public/js/jquery-ui.theme.min.css ] || - ln -s /usr/share/javascript/jquery-ui/jquery-ui.theme.min.css %{dir_mngr}/themes/default/public/js/jquery-ui.theme.min.css - - - fi