This commit is contained in:
simono41 2018-04-06 16:43:26 +02:00
parent f3ba0ea442
commit b3eda455ee
4 changed files with 3 additions and 19 deletions

View file

@ -580,16 +580,12 @@ if [ "${vollinstallation}" != "n" ]; then
chmod 755 /usr/bin/write_cowspace
# installer-/usr/bin/
sed "s|%VERSION%|${version}|g;" /opt/${repo}/arch-install > /usr/bin/arch-install
cp /opt/${repo}/arch-install /usr/bin/arch-install
chmod 755 /usr/bin/arch-install
# installer
mkdir -p /usr/share/applications/
if [ "${version}" == "libre" ]; then
cp /opt/${repo}/arch-install-libre.desktop /usr/share/applications/arch-install.desktop
else
cp /opt/${repo}/arch-install.desktop /usr/share/applications/arch-install.desktop
fi
sed "s|%VERSION%|${version}|g;" /opt/${repo}/arch-install.desktop > /usr/share/applications/arch-install.desktop
chmod 755 /usr/share/applications/arch-install.desktop
# install-picture

View file

@ -7,7 +7,6 @@ echo "Version : DI 27. Feb 22:52:41 CET 2017"
WEBADDRESS="https://github.com/simono41/SpectreOS.git"
repo="SpectreOS"
user="user1"
version="%VERSION%"
[[ -n "${2}" ]] && version="${2}" || version=voll

View file

@ -1,11 +0,0 @@
[Desktop Entry]
Type=Application
Icon=/usr/share/pixmaps/install.png
Name[de]=Betriebssystem installieren
Name[en]=Install the operating system
Exec=/usr/bin/arch-install "" libre
Terminal=true
Categories=ConsoleOnly;System;
StartupNotify=false
Comment=
Path=

View file

@ -3,7 +3,7 @@ Type=Application
Icon=/usr/share/pixmaps/install.png
Name[de]=Betriebssystem installieren
Name[en]=Install the operating system
Exec=/usr/bin/arch-install
Exec=/usr/bin/arch-install "" %VERSION%
Terminal=true
Categories=ConsoleOnly;System;
StartupNotify=false