Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
materials
Commits
70d5b8c3
Commit
70d5b8c3
authored
Sep 15, 2012
by
Daniel Schulte
Browse files
Merge branch 'master' of www.fsmpi.rwth-aachen.de:lip
parents
fa93bd80
1d30d470
Changes
1
Hide whitespace changes
Inline
Side-by-side
shellscripte/usbrepo/infuse_offline_repo.sh
View file @
70d5b8c3
#!/bin/bash
PKG_LIST
=
"cowsay fish get-flash-videos gnome haskell-platform java7-jdk imagemagick rxvt-unicode moc nethack-console scrot sl tmux vim xcowsay zsh zsh-doc texmaker gimp pidgin smplayer subversion git lftp inkscape"
MY_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
source
mount-stick-repo.sh
#detect mountpoint
if
[[
$UID
-ne
0
]]
;
then
echo
"
$0
must be run as root"
exit
1
fi
MPOINT
=
""
source
$MY_DIR
/mount-stick-repo.sh
#detect mountpoint
if
[
-n
$MPOINT
]
;
then
SOURCE_PATH
=
"
$MPOINT
"
#check if we have root perms?
MERGE_DIR
=
$(
mktemp
-d
)
CACHE_DIR
=
"/var/cache/apt/archives/"
ARCH
=
"i386"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment