Comments (4)
Just did the same thing:
root@DAPPLE:~/repo# cd tmp
root@DAPPLE:~/repo/tmp# git clone https://github.com/mrworf/plexupdate.git
Cloning into 'plexupdate'...
remote: Counting objects: 261, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 261 (delta 0), reused 0 (delta 0), pack-reused 257
Receiving objects: 100% (261/261), 74.95 KiB | 0 bytes/s, done.
Resolving deltas: 100% (142/142), done.
Checking connectivity... done.
root@DAPPLE:~/repo/tmp# hexdump -C plexupdate/
.git/ LICENSE plexupdate.sh README.md
root@DAPPLE:~/repo/tmp# hexdump -C plexupdate/plexupdate.sh | less
00000000 23 21 2f 62 69 6e 2f 62 61 73 68 0a 23 0a 23 20 |#!/bin/bash.#.# |
00000010 50 6c 65 78 20 4c 69 6e 75 78 20 53 65 72 76 65 |Plex Linux Serve|
00000020 72 20 64 6f 77 6e 6c 6f 61 64 20 74 6f 6f 6c 0a |r download tool.|
00000030 23 20 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e |# ^^^^^^^^^^^^^^|
00000040 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e |^^^^^^^^^^^^^^^^|
00000050 5e 0a 23 20 54 68 69 73 20 74 6f 6f 6c 20 77 69 |^.# This tool wi|
00000060 6c 6c 20 64 6f 77 6e 6c 6f 61 64 20 74 68 65 20 |ll download the |
00000070 6c 61 74 65 73 74 20 76 65 72 73 69 6f 6e 20 6f |latest version o|
Could this be the cause?
http://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf
from plexupdate.
This script was created because I don't have a graphical environment for linux, only headless :) I just pulled the script using wget from https://raw.githubusercontent.com/mrworf/plexupdate/master/plexupdate.sh and ran "hexdump -C plexupdate.sh | less" and there is only LF (0x0A) ... Maybe you accidentally added LF->CRLF when you downloaded the script?
from plexupdate.
I downloaded the script by using git clone on my Linux server
Did I do something wrong?
from plexupdate.
Odd...
I did:
git config core.autocrlf false
it was set to true.
This is from a Ubuntu server. Not sure why this would have been set to true.
Resolved!
from plexupdate.
Related Issues (20)
- Specify cron download directory? HOT 1
- No email notification after an update HOT 2
- update keeps downloading HOT 1
- it was working before fine....but now HOT 4
- naming scheme for Raspberry Pi package / armv7 on Debian has been changed again by Plex HOT 1
- install.sh script has a small logic bug HOT 3
- Arch Updater
- Scheduled update makes PMS inaccessible HOT 61
- Update during DVR quiet time HOT 1
- ARM 64 bit (Raspberry Pi 4)
- Logging and Scheduling Confusion (Where? And) HOT 2
- Resets service group HOT 2
- Running plexupdate.sh causes segfault in systemd HOT 1
- Rollback?
- Getting an email HOT 4
- Feature Request: Make Installer Automation-Friendly HOT 1
- Just installed, getting an error on run
- get token script doesn't work if MFA is enabled HOT 2
- Where does it download the PMS installer to? HOT 3
- Cron job not running? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plexupdate.