Initial Upload

This commit is contained in:
Brian Read 2024-01-30 12:36:01 +00:00
parent ce2ea03323
commit 69f6e46f41

View File

@ -15,6 +15,8 @@ BuildRequires: e-smith-devtools
Requires: e-smith-release >= 10.0 Requires: e-smith-release >= 10.0
AutoReqProv: no AutoReqProv: no
%define dir_mngr /usr/share/smanager
%description %description
Jsquery and associated plugins plus server-manager (2) specific overrides. 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 ] || [ -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 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 ] || [ -h %{dir_mngr}/themes/default/public/js/datatables.min.css ] ||
ln -s /usr/share/javascript/datatables.min.css %{dir_mngr}/themes/default/public/js/jquery.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 ] || [ -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 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 ] || [ -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 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 fi