Skip to content

Commit

Permalink
Removes no longer used config
Browse files Browse the repository at this point in the history
fixes debian script path
  • Loading branch information
1337-server committed May 22, 2022
1 parent 9ec8271 commit 625de45
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion arm/ripper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def main(logfile, job, protection=0):

utils.notify_entry(job)
# Check if user has manual wait time enabled
utils.check_for_wait(job, config)
utils.check_for_wait(job)

log_arm_params(job)
check_fstab()
Expand Down
3 changes: 1 addition & 2 deletions arm/ripper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,10 +843,9 @@ def check_for_dupe_folder(have_dupes, hb_out_path, job):
return hb_out_path


def check_for_wait(job, config):
def check_for_wait(job):
"""
Wait if we have waiting for user input updates\n\n
:param config: Config for current Job
:param job: Current Job
:return: None
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function install_arm_build_tools(){

function install_arm_requirements() {
install_arm_build_tools
echo -e "${RED}Installing ARM requirments${NC}"
echo -e "${RED}Installing ARM requirements${NC}"
apt update -y
apt-get install -y \
build-essential \
Expand Down Expand Up @@ -115,7 +115,7 @@ function build_makemkv(){
cd ./makeMKV

echo -e "${RED}Finding current MakeMKV version${NC}"
mmv=$(curl -s https://www.makemkv.com/download/ | grep -o [0-9.]*.txt | sed 's/.txt//')
mmv=$(curl -s https://www.makemkv.com/download/ | grep -o '[0-9.]*.txt' | sed 's/.txt//')
echo -e "MakeMKV Current Version: ${mmv}"
echo -e "${RED}Downloading MakeMKV sha, bin, and oss${NC}"
# As MakeMKV is currently suspended I've included links to the wayback machine
Expand Down Expand Up @@ -211,7 +211,7 @@ function install_arm_live_env() {
cd /opt
clone_arm
cd arm
pip3 install -r requirements.txt
sudo -u arm pip3 install -r requirements.txt
cp /opt/arm/setup/51-automedia.rules /etc/udev/rules.d/
create_abcde_symlink
cp docs/arm.yaml.sample arm.yaml
Expand Down Expand Up @@ -252,14 +252,14 @@ function setup_syslog_rule() {
echo -e "${RED}ARM syslog rule found. Overwriting...${NC}"
rm /etc/rsyslog.d/30-arm.conf
fi
cp ./scripts/30-arm.conf /etc/rsyslog.d/30-arm.conf
cp ./setup/30-arm.conf /etc/rsyslog.d/30-arm.conf
}

function install_armui_service() {
##### Run the ARM UI as a service
echo -e "${RED}Installing ARM service${NC}"
mkdir -p /etc/systemd/system
cp ./scripts/armui.service /etc/systemd/system/armui.service
cp ./setup/armui.service /etc/systemd/system/armui.service

systemctl daemon-reload
chmod u+x /etc/systemd/system/armui.service
Expand Down

0 comments on commit 625de45

Please sign in to comment.