Commit 7e76a4ea authored by Carlos Remuzzi's avatar Carlos Remuzzi
Browse files

creando directory applications en caso no exista

parent 77f18b15
......@@ -84,10 +84,9 @@ main() {
# esto tiene que adaptarse a diferentes distros
if [ -d "$HOME/.local/share/applications/" ];then
cp $HOME/librecast/libreCast.desktop $HOME/.local/share/applications/libreCast-s1.desktop
sed -i -e "s/USER/$USER_NAME/g" $HOME/.local/share/applications/libreCast-s1.desktop
fi
mkdir -p $HOME/.local/share/applications
cp $HOME/librecast/libreCast.desktop $HOME/.local/share/applications/libreCast-s1.desktop
sed -i -e "s/USER/$USER_NAME/g" $HOME/.local/share/applications/libreCast-s1.desktop
if which nmcli >/dev/null 2>&1; then
# esto tiene que cambiar
......
Supports Markdown
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