fix
This commit is contained in:
parent
f3ba0ea442
commit
b3eda455ee
4 changed files with 3 additions and 19 deletions
|
@ -580,16 +580,12 @@ if [ "${vollinstallation}" != "n" ]; then
|
||||||
chmod 755 /usr/bin/write_cowspace
|
chmod 755 /usr/bin/write_cowspace
|
||||||
|
|
||||||
# installer-/usr/bin/
|
# 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
|
chmod 755 /usr/bin/arch-install
|
||||||
|
|
||||||
# installer
|
# installer
|
||||||
mkdir -p /usr/share/applications/
|
mkdir -p /usr/share/applications/
|
||||||
if [ "${version}" == "libre" ]; then
|
sed "s|%VERSION%|${version}|g;" /opt/${repo}/arch-install.desktop > /usr/share/applications/arch-install.desktop
|
||||||
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
|
|
||||||
chmod 755 /usr/share/applications/arch-install.desktop
|
chmod 755 /usr/share/applications/arch-install.desktop
|
||||||
|
|
||||||
# install-picture
|
# install-picture
|
||||||
|
|
|
@ -7,7 +7,6 @@ echo "Version : DI 27. Feb 22:52:41 CET 2017"
|
||||||
WEBADDRESS="https://github.com/simono41/SpectreOS.git"
|
WEBADDRESS="https://github.com/simono41/SpectreOS.git"
|
||||||
repo="SpectreOS"
|
repo="SpectreOS"
|
||||||
user="user1"
|
user="user1"
|
||||||
version="%VERSION%"
|
|
||||||
|
|
||||||
[[ -n "${2}" ]] && version="${2}" || version=voll
|
[[ -n "${2}" ]] && version="${2}" || version=voll
|
||||||
|
|
||||||
|
|
|
@ -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=
|
|
|
@ -3,7 +3,7 @@ Type=Application
|
||||||
Icon=/usr/share/pixmaps/install.png
|
Icon=/usr/share/pixmaps/install.png
|
||||||
Name[de]=Betriebssystem installieren
|
Name[de]=Betriebssystem installieren
|
||||||
Name[en]=Install the operating system
|
Name[en]=Install the operating system
|
||||||
Exec=/usr/bin/arch-install
|
Exec=/usr/bin/arch-install "" %VERSION%
|
||||||
Terminal=true
|
Terminal=true
|
||||||
Categories=ConsoleOnly;System;
|
Categories=ConsoleOnly;System;
|
||||||
StartupNotify=false
|
StartupNotify=false
|
||||||
|
|
Loading…
Reference in a new issue