Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
materials
Commits
70d5b8c3
Commit
70d5b8c3
authored
12 years ago
by
Daniel Schulte
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of www.fsmpi.rwth-aachen.de:lip
parents
fa93bd80
1d30d470
Branches
Branches containing commit
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
shellscripte/usbrepo/infuse_offline_repo.sh
+8
-2
8 additions, 2 deletions
shellscripte/usbrepo/infuse_offline_repo.sh
with
8 additions
and
2 deletions
shellscripte/usbrepo/infuse_offline_repo.sh
+
8
−
2
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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment