Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy the original transmission UI in the transmission-web-control mod #974

Open
wants to merge 1 commit into
base: transmission-transmission-web-control
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@

printf "/themes/transmission-web-control" > /var/run/s6/container_environment/TRANSMISSION_WEB_HOME

mv /usr/share/transmission/public_html/index.html /usr/share/transmission/public_html/index.original.html
cp -R /usr/share/transmission/public_html/* /themes/transmission-web-control/
mv /usr/share/transmission/public_html/index.original.html /usr/share/transmission/public_html/index.html
Comment on lines +6 to +8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To minimise the risk of breakage now and in future it might be preferable to do this as:

cp /usr/share/transmission/public_html/index.html /themes/transmission-web-control/index.original.html
cp -nR /usr/share/transmission/public_html/* /themes/transmission-web-control/


lsiown -R abc:abc /themes
Loading