PPA files reflecting the refactored directory structure

This commit is contained in:
RetGal 2021-01-17 22:51:54 +01:00
parent ed21d4a135
commit ba4884d728
7 changed files with 15 additions and 11 deletions

2
debian/control vendored
View File

@ -15,7 +15,7 @@ Homepage: https://retgal.github.io/Dayon/
Package: dayon
Architecture: all
Depends: default-jre (>=2:1.8-56)
Depends: default-jre (>= 2:1.8-56)
Description: Dayon!
cross platform remote desktop solution

View File

@ -1,7 +1,7 @@
[Desktop Entry]
Name=Dayon! Assistant
Version=1.10
Exec=/usr/local/bin/dayon_assistant.sh
Exec=/usr/local/bin/dayon_assistant
Comment=Offer remote assistance
Comment[de]=Remotesupport anbieten
Comment[es]=Ofrecer asistencia remota

View File

@ -1,7 +1,7 @@
[Desktop Entry]
Name=Dayon! Assisted
Version=1.10
Exec=/usr/local/bin/dayon_assisted.sh
Exec=/usr/local/bin/dayon_assisted
Comment=Request remote assistance
Comment[de]=Remotesupport erbitten
Comment[es]=Solicitar asistencia remota

2
debian/dirs vendored
View File

@ -1 +1 @@
usr/local/bin
/usr/local/bin/dayon/

6
debian/install vendored
View File

@ -1,3 +1,3 @@
debian/dayon.jar usr/local/bin/
debian/*.sh usr/local/bin/
debian/*.desktop usr/share/applications/
debian/dayon.jar /usr/local/bin/dayon/
debian/*.sh /usr/local/bin/dayon/
debian/*.desktop /usr/share/applications/

6
debian/postinst vendored
View File

@ -2,7 +2,9 @@
case "$1" in
configure)
chown -R root:staff "/usr/local/bin/dayon*sh"
find "/usr/local/bin" -type f -iname "dayon*sh" -print0 | xargs -0 chmod 755
chown -R root:staff "/usr/local/bin/dayon/dayon*sh"
find "/usr/local/bin/dayon" -type f -iname "dayon*sh" -print0 | xargs -0 chmod 755
ln -s "/usr/local/bin/dayon/dayon_assisted.sh" "/usr/local/bin/dayon_assisted"
ln -s "/usr/local/bin/dayon/dayon_assistant.sh" "/usr/local/bin/dayon_assistant"
;;
esac

6
debian/postrm vendored
View File

@ -2,8 +2,8 @@
case "$1" in
purge|remove)
if [ -f "/usr/local/bin/dayon.sh" ]; then
rm "/usr/local/bin/dayon*"
if [ -f "/usr/local/bin/dayon/dayon.sh" ]; then
rm "/usr/local/bin/dayon/*"
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
@ -16,3 +16,5 @@ esac
rm -f /usr/share/applications/dayon_assistant.desktop
rm -f /usr/share/applications/dayon_assisted.desktop
rm -f /usr/local/bin/dayon_assisted
rm -f /usr/local/bin/dayon_assistant