bug fix
This commit is contained in:
parent
e844d3186a
commit
742f3dc86b
@ -1,6 +1,6 @@
|
|||||||
Summary: Install LALIS packages and configuration
|
Summary: Install LALIS packages and configuration
|
||||||
Name: task-lalis
|
Name: task-lalis
|
||||||
Version: 2.4
|
Version: 2.8
|
||||||
Release: %mkrel 1
|
Release: %mkrel 1
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: Tools
|
Group: Tools
|
||||||
@ -10,9 +10,8 @@ Source1: journald.conf
|
|||||||
Source2: lalistunnel
|
Source2: lalistunnel
|
||||||
Source3: Lalis.desktop
|
Source3: Lalis.desktop
|
||||||
Source4: identMM.pl
|
Source4: identMM.pl
|
||||||
#Source5: sync_check.sh
|
Source5: test.desktop
|
||||||
Source6: checklist.txt
|
Source6: checklist.txt
|
||||||
Source7: test.desktop
|
|
||||||
Requires: kate
|
Requires: kate
|
||||||
Requires: openssh-server
|
Requires: openssh-server
|
||||||
Requires: sshfs-fuse
|
Requires: sshfs-fuse
|
||||||
@ -116,6 +115,7 @@ Requires: fuse-exfat
|
|||||||
Requires: mageia-theme-extra
|
Requires: mageia-theme-extra
|
||||||
Requires: chromium-browser
|
Requires: chromium-browser
|
||||||
Requires: lshw
|
Requires: lshw
|
||||||
|
Requires: x11-driver-input-synaptics
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package installs LALIS choosen packages and some configurations.
|
This package installs LALIS choosen packages and some configurations.
|
||||||
@ -129,16 +129,13 @@ mkdir -p %{buildroot}/usr/share/dist/desktop-files/default/
|
|||||||
cp -af %{SOURCE1} %{buildroot}/tmp/
|
cp -af %{SOURCE1} %{buildroot}/tmp/
|
||||||
cp -f %{SOURCE2} %{buildroot}/usr/local/bin/
|
cp -f %{SOURCE2} %{buildroot}/usr/local/bin/
|
||||||
cp -f %{SOURCE4} %{buildroot}/usr/local/bin/
|
cp -f %{SOURCE4} %{buildroot}/usr/local/bin/
|
||||||
#cp -f %{SOURCE5} %{buildroot}/usr/local/bin/
|
|
||||||
cp -f %{SOURCE3} %{buildroot}/usr/share/kio_desktop/
|
cp -f %{SOURCE3} %{buildroot}/usr/share/kio_desktop/
|
||||||
cp -f %{SOURCE3} %{buildroot}/usr/share/dist/desktop-files/default/
|
cp -f %{SOURCE3} %{buildroot}/usr/share/dist/desktop-files/default/
|
||||||
|
cp -f %{SOURCE5} %{buildroot}/usr/share/dist/desktop-files/default/
|
||||||
cp -f %{SOURCE6} %{buildroot}/usr/share/lalis/
|
cp -f %{SOURCE6} %{buildroot}/usr/share/lalis/
|
||||||
cp -f %{SOURCE7} %{buildroot}/usr/share/dist/desktop-files/default/
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
|
||||||
# configuration de l'assistance à distance
|
|
||||||
# créer un utilisateur Lalis enlève les droits de lecture/écriture/visibilité/exécution à others
|
|
||||||
/tmp/journald.conf
|
/tmp/journald.conf
|
||||||
/usr/local/bin/lalistunnel
|
/usr/local/bin/lalistunnel
|
||||||
/usr/local/bin/identMM.pl
|
/usr/local/bin/identMM.pl
|
||||||
@ -147,12 +144,14 @@ cp -f %{SOURCE7} %{buildroot}/usr/share/dist/desktop-files/default/
|
|||||||
/usr/share/dist/desktop-files/default/*
|
/usr/share/dist/desktop-files/default/*
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
# configuration de l'assistance à distance
|
||||||
|
# créer un utilisateur Lalis enlève les droits de lecture/écriture/visibilité/exécution à others
|
||||||
desktop()
|
desktop()
|
||||||
{
|
{
|
||||||
DESKTOP=`grep XDG_DESKTOP_DIR $1/.config/user-dirs.dirs`
|
DESKTOP=`grep XDG_DESKTOP_DIR $1/.config/user-dirs.dirs`
|
||||||
DESKTOP=${DESKTOP##*}
|
DESKTOP=${DESKTOP##*}
|
||||||
}
|
}
|
||||||
#DESKTOP="Bureau"
|
|
||||||
|
|
||||||
mv -f /tmp/journald.conf /etc/systemd/
|
mv -f /tmp/journald.conf /etc/systemd/
|
||||||
getent passwd lalis
|
getent passwd lalis
|
||||||
|
Reference in New Issue
Block a user