parent
0402cc4b30
commit
e844d3186a
@ -1,6 +1,6 @@
|
||||
Summary: Install LALIS packages and configuration
|
||||
Name: task-lalis
|
||||
Version: 2.5
|
||||
Version: 2.4
|
||||
Release: %mkrel 1
|
||||
License: GPLv3
|
||||
Group: Tools
|
||||
@ -10,8 +10,9 @@ Source1: journald.conf
|
||||
Source2: lalistunnel
|
||||
Source3: Lalis.desktop
|
||||
Source4: identMM.pl
|
||||
Source5: checklist.txt
|
||||
Source6: test.desktop
|
||||
#Source5: sync_check.sh
|
||||
Source6: checklist.txt
|
||||
Source7: test.desktop
|
||||
Requires: kate
|
||||
Requires: openssh-server
|
||||
Requires: sshfs-fuse
|
||||
@ -128,12 +129,16 @@ mkdir -p %{buildroot}/usr/share/dist/desktop-files/default/
|
||||
cp -af %{SOURCE1} %{buildroot}/tmp/
|
||||
cp -f %{SOURCE2} %{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/dist/desktop-files/default/
|
||||
cp -f %{SOURCE5} %{buildroot}/usr/share/lalis/
|
||||
cp -f %{SOURCE6} %{buildroot}/usr/share/dist/desktop-files/default/
|
||||
cp -f %{SOURCE6} %{buildroot}/usr/share/lalis/
|
||||
cp -f %{SOURCE7} %{buildroot}/usr/share/dist/desktop-files/default/
|
||||
|
||||
%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
|
||||
/usr/local/bin/lalistunnel
|
||||
/usr/local/bin/identMM.pl
|
||||
@ -142,9 +147,6 @@ cp -f %{SOURCE6} %{buildroot}/usr/share/dist/desktop-files/default/
|
||||
/usr/share/dist/desktop-files/default/*
|
||||
|
||||
%post
|
||||
# configuration de l'assistance à distance
|
||||
# créer un utilisateur Lalis enlève les droits de lecture/écriture/visibilité/exécution à others
|
||||
lsusb
|
||||
desktop()
|
||||
{
|
||||
DESKTOP=`grep XDG_DESKTOP_DIR $1/.config/user-dirs.dirs`
|
||||
@ -159,10 +161,7 @@ if [ $? -ne 0 ]; then
|
||||
chmod -R o-rwX /home/lalis
|
||||
passwd lalis << EOF
|
||||
Lalis
|
||||
Lalis-d 06cb:
|
||||
if ! [ $? ];then
|
||||
urpmi x11-driver-input-synaptics
|
||||
fi
|
||||
Lalis
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user