From f7176f87373e5caec4f606a5e41856d1bf375a70 Mon Sep 17 00:00:00 2001 From: losuler Date: Wed, 8 Dec 2021 03:04:50 +1100 Subject: [PATCH] Add new directories to permissions fix --- com.cisco.PacketTracer.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.cisco.PacketTracer.yml b/com.cisco.PacketTracer.yml index 3ec083b..5df5ef3 100644 --- a/com.cisco.PacketTracer.yml +++ b/com.cisco.PacketTracer.yml @@ -20,8 +20,8 @@ modules: - ar x CiscoPacketTracer_810_Ubuntu_64bit.deb - xz -d data.tar.xz - tar -xf data.tar - - find opt/pt/saves -type d -exec chmod 755 {} + - - find opt/pt/saves -type f -exec chmod 644 {} + + - find opt/pt/saves opt/pt/templates opt/pt/templates/environments -type d -exec chmod 755 {} + + - find opt/pt/saves opt/pt/templates opt/pt/templates/environments -type f -exec chmod 644 {} + - mv opt/pt /app - install -D /app/pt/art/app.png /app/share/icons/hicolor/48x48/apps/com.cisco.PacketTracer.png - install -D com.cisco.PacketTracer.desktop /app/share/applications/com.cisco.PacketTracer.desktop