Skip to content
This repository was archived by the owner on Nov 14, 2020. It is now read-only.
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ VERSION_FILE := $(FILES_DIR)/etc/version50
PLUGINS := audioplayer browser cat debug gist hex info presentation simple statuspage theme

NAME := ide50
VERSION := 145
VERSION := 146

define getplugin
@echo "\nFetching $(1)..."
Expand Down
9 changes: 9 additions & 0 deletions postinst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ chmod 644 /etc/bash_completion.d/make
# remove dropbox functions
sed -i 's:source /home/ubuntu/.dropbox50::g' ~/.bashrc

# export make function
if ! grep -q 'export -f make' ~/.bashrc; then
cat >> ~/.bashrc << EOF
if declare -f make &>/dev/null; then
export -f make
fi
EOF
fi

# add courses group and cs50 user
groupadd -r courses > /dev/null 2>&1 || true
adduser --gecos "CS50,,,," --ingroup courses --disabled-login --system cs50 > /dev/null 2>&1 || true
Expand Down