Commit 23e16027 authored by Bernhard Landauer's avatar Bernhard Landauer

[desktop-items] cleanup old stuff

parent 4b007077
......@@ -3,23 +3,6 @@
xdg=$(xdg-user-dir DESKTOP)
src='/usr/share/applications'
is_sonar(){
. /etc/os-release
if [[ $NAME == "Sonar Linux" ]]; then
return 0
else
return 1
fi
}
if [[ -f /usr/bin/thus ]]; then
install -Dm755 $src/thus.desktop \
$xdg/thus.desktop
if $(is_sonar); then
sed -e "s/^.*Name=.*/Name=Install Sonar Linux/" -i $xdg/thus.desktop
fi
fi
if [[ -f /usr/bin/calamares ]]; then
install -Dm755 $src/calamares.desktop \
$xdg/calamares.desktop
......@@ -43,11 +26,6 @@ if [[ -f "$src/manjaro-documentation.desktop" ]]; then
"$xdg/manjaro-documentation.desktop"
fi
if [[ -f "$src/manjaro-welcome.desktop" ]]; then
install -Dm755 $src/manjaro-welcome.desktop \
"$xdg/manjaro-welcome.desktop"
fi
if [[ -f "$src/hexchat.desktop" ]]; then
install -Dm755 $src/hexchat.desktop \
"$xdg/hexchat.desktop"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment