parent
d3942a9915
commit
263d418594
@ -0,0 +1,24 @@ |
||||
#!/bin/sh |
||||
# полный путь до скрипта |
||||
ABSOLUTE_FILENAME=`readlink -e "$0"` |
||||
# каталог в котором лежит скрипт |
||||
SDIRECTORY=`dirname "$ABSOLUTE_FILENAME"` |
||||
|
||||
a= . install2-init-functions |
||||
sed -i 's/#GreetString=K Desktop Environment (%n)/GreetString=Добро пожаловать на борт!/g' $destdir/etc/X11/kdm4/kdmrc |
||||
mkdir -p $destdir/etc/skel/.local/share/dolphin/view_properties/global |
||||
echo "[Dolphin]">$destdir/etc/skel/.local/share/dolphin/view_properties/global/.directory |
||||
echo "PreviewsShown=true">>$destdir/etc/skel/.local/share/dolphin/view_properties/global/.directory |
||||
|
||||
#Назначение редактором vim |
||||
mkdir -p $destdir/etc/bashrc.d |
||||
echo "#!/bin/sh">$destdir/etc/bashrc.d/editor.sh |
||||
echo "export EDITOR=vim">>$destdir/etc/bashrc.d/editor.sh |
||||
echo "export GIT_EDITOR=vim">>$destdir/etc/bashrc.d/editor.sh |
||||
echo "alias vi='/usr/bin/vim-console'">>$destdir/etc/bashrc.d/editor.sh |
||||
chmod +x $destdir/etc/bashrc.d/editor.sh |
||||
|
||||
#Привет от NM |
||||
echo "#!/bin/sh">$destdir/etc/firsttime.d/nm.sh |
||||
echo "echo -e \"\n[device]\nwifi.scan-rand-mac-address=no\" >> /etc/NetworkManager/NetworkManager.conf">>$destdir/etc/firsttime.d/nm.sh |
||||
chmod +x $destdir/etc/firsttime.d/nm.sh |
@ -0,0 +1,6 @@ |
||||
#!/bin/sh |
||||
mount $1 /mnt |
||||
mount --bind /proc /mnt/proc |
||||
mount --bind /sys /mnt/sys |
||||
mount --bind /dev /mnt/dev |
||||
chroot /mnt |
@ -0,0 +1,57 @@ |
||||
Name: installer-feature-kometa-kde5 |
||||
Version: 1.2 |
||||
Release: kometa1 |
||||
|
||||
Summary: feature to kometa distro |
||||
License: GPL |
||||
Group: System/Configuration/Other |
||||
Url: http://oskometa.ru |
||||
BuildArch: noarch |
||||
Source: %name-%version.tar |
||||
|
||||
%description |
||||
feature to kometa distro |
||||
|
||||
%prep |
||||
%setup |
||||
|
||||
%install |
||||
%define hookdir %_datadir/install2/preinstall.d |
||||
%define rootdir /root |
||||
mkdir -p %buildroot%hookdir |
||||
mkdir -p %buildroot%rootdir |
||||
install -pm755 92-kometa-kde5.sh %buildroot%hookdir/ |
||||
install -pm755 mntchroot.sh %buildroot%rootdir/ |
||||
|
||||
|
||||
%files |
||||
%hookdir/92-kometa-kde5.sh |
||||
%rootdir/mntchroot.sh |
||||
|
||||
%changelog |
||||
* Thu Oct 21 2021 1.2-kometa1 |
||||
- (Dolphin, single click, ru/us == РУС/АНГ, Num Lock) => kometa-std-desktop |
||||
|
||||
* Sat Oct 17 2020 1.1-kometa9 |
||||
- Скрипт для root монтирования системы в mnt для восстановления grub |
||||
|
||||
* Sun Mar 15 2020 1.0-kometa7 |
||||
- Адаптация под p9 |
||||
|
||||
* Thu Mar 22 2018 1.0-kometa6 |
||||
- Исправление фонов |
||||
|
||||
* Wed Jan 10 2018 1.0-kometa5 |
||||
- Настройка нижней панели |
||||
|
||||
* Fri Jan 5 2018 1.0-kometa4 |
||||
- Отключение эффектов |
||||
|
||||
* Thu Apr 5 2017 1.0-kometa3 |
||||
- NM |
||||
|
||||
* Sun Apr 2 2017 1.0-kometa2 |
||||
- vi -> vim и эффекты |
||||
|
||||
* Mon Jan 30 2011 1.0-kometa1 |
||||
- initial build |
Loading…
Reference in new issue